All of lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] lib/i915: Fix gem_has_execlists to match description
@ 2021-10-15 23:38 Ashutosh Dixit
  2021-10-15 23:33 ` Dixit, Ashutosh
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Ashutosh Dixit @ 2021-10-15 23:38 UTC (permalink / raw)
  To: igt-dev; +Cc: John Harrison, Tvrtko Ursulin

Driver is using execlists if it is not using GuC submission.
GEM_SUBMISSION_EXECLISTS flag indicates if execlist submission is
available, not if it is being used by the driver.

Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
---
 lib/i915/gem_submission.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/i915/gem_submission.c b/lib/i915/gem_submission.c
index 2627b802cfb..4312a73bd85 100644
--- a/lib/i915/gem_submission.c
+++ b/lib/i915/gem_submission.c
@@ -153,7 +153,7 @@ bool gem_has_semaphores(int fd)
  */
 bool gem_has_execlists(int fd)
 {
-	return gem_submission_method(fd) & GEM_SUBMISSION_EXECLISTS;
+	return !gem_has_guc_submission(fd);
 }
 
 /**
-- 
2.33.0

^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2021-10-19 18:09 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-15 23:38 [igt-dev] [PATCH i-g-t] lib/i915: Fix gem_has_execlists to match description Ashutosh Dixit
2021-10-15 23:33 ` Dixit, Ashutosh
2021-10-15 23:42 ` John Harrison
2021-10-15 23:39   ` Dixit, Ashutosh
2021-10-15 23:57     ` John Harrison
2021-10-18  7:43       ` Tvrtko Ursulin
2021-10-18 22:11         ` Dixit, Ashutosh
2021-10-18 23:40         ` John Harrison
2021-10-19  8:53           ` Tvrtko Ursulin
2021-10-19 18:08             ` John Harrison
2021-10-16  0:50 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2021-10-16  5:00 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.