[Intel-gfx] [PATCH i-g-t] lib/intel_batchbuffer: Media VME kernel is valid only for Gen11
Tvrtko Ursulin
tvrtko.ursulin at linux.intel.com
Mon Feb 25 11:55:07 UTC 2019
From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
Do not use it on older gens.
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
Cc: Tony Ye <tony.ye at 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 b2169a1aa145..6e6bcdeba8a6 100644
--- a/lib/intel_batchbuffer.c
+++ b/lib/intel_batchbuffer.c
@@ -877,7 +877,7 @@ igt_vme_func_t igt_get_media_vme_func(int devid)
{
igt_vme_func_t fill = NULL;
- if (IS_GEN9(devid) || IS_GEN10(devid) || IS_GEN11(devid))
+ if (IS_GEN11(devid))
fill = gen11_media_vme_func;
return fill;
--
2.19.1
More information about the Intel-gfx
mailing list