public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [RFT i-g-t] lib/intel_batchbuffer: Gen9 media spin function can work on newer gens?
@ 2019-02-25 11:49 Tvrtko Ursulin
  2019-02-25 12:57 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
  2019-02-25 15:31 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
  0 siblings, 2 replies; 3+ messages in thread
From: Tvrtko Ursulin @ 2019-02-25 11:49 UTC (permalink / raw)
  To: igt-dev; +Cc: Tony Ye, Intel-gfx, Matthew Auld, Tvrtko Ursulin

From: Tvrtko Ursulin <tvrtko.ursulin@intel.com>

... lets see ...

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109288
Cc: Matthew Auld <matthew.auld@intel.com>
Cc: Tony Ye <tony.ye@intel.com>
---
 lib/intel_batchbuffer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/intel_batchbuffer.c b/lib/intel_batchbuffer.c
index 22697c94fb13..b2169a1aa145 100644
--- a/lib/intel_batchbuffer.c
+++ b/lib/intel_batchbuffer.c
@@ -920,7 +920,7 @@ igt_media_spinfunc_t igt_get_media_spinfunc(int devid)
 {
 	igt_media_spinfunc_t spin = NULL;
 
-	if (IS_GEN9(devid))
+	if (intel_gen(devid) >= 9)
 		spin = gen9_media_spinfunc;
 	else if (IS_GEN8(devid))
 		spin = gen8_media_spinfunc;
-- 
2.19.1

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

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

end of thread, other threads:[~2019-02-25 15:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-25 11:49 [igt-dev] [RFT i-g-t] lib/intel_batchbuffer: Gen9 media spin function can work on newer gens? Tvrtko Ursulin
2019-02-25 12:57 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2019-02-25 15:31 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox