[igt-dev] [PATCH i-g-t 1/2] lib/media_fill: Use RENDER engine flag to work on Xe
Zbigniew Kempczyński
zbigniew.kempczynski at intel.com
Thu Aug 3 07:49:01 UTC 2023
Due to explicit requirement of running on valid hw engine on xe
change I915_EXEC_DEFAULT to I915_EXEC_RENDER. This change doesn't
break i915 media pipeline allowing to create and assign valid xe
engine to execute media fill test.
Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
Cc: Christoph Manszewski <christoph.manszewski at intel.com>
---
lib/media_fill.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/media_fill.c b/lib/media_fill.c
index e80dae1505..2520995d97 100644
--- a/lib/media_fill.c
+++ b/lib/media_fill.c
@@ -281,7 +281,7 @@ __gen9_media_fillfunc(int i915,
intel_bb_ptr_align(ibb, 32);
intel_bb_exec(ibb, intel_bb_offset(ibb),
- I915_EXEC_DEFAULT | I915_EXEC_NO_RELOC, true);
+ I915_EXEC_RENDER | I915_EXEC_NO_RELOC, true);
intel_bb_destroy(ibb);
}
--
2.34.1
More information about the igt-dev
mailing list