[igt-dev] [PATCH i-g-t 1/2] tests/api_intel_bb: Check for blitter support in misplaced-blitter
Karolina Drobnik
karolina.drobnik at intel.com
Wed Nov 9 11:56:37 UTC 2022
BLT copy operations are not supported on all generations, so check
for blitter support before executing the test.
Fixes: https://gitlab.freedesktop.org/drm/intel/-/issues/7493
Signed-off-by: Karolina Drobnik <karolina.drobnik at intel.com>
---
tests/i915/api_intel_bb.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/i915/api_intel_bb.c b/tests/i915/api_intel_bb.c
index d448f02d..a13626ee 100644
--- a/tests/i915/api_intel_bb.c
+++ b/tests/i915/api_intel_bb.c
@@ -1643,6 +1643,7 @@ igt_main_args("dpibc:", NULL, help_str, opt_handler, NULL)
igt_describe("Execute intel_bb with set of engines provided by userspace");
igt_subtest("misplaced-blitter") {
+ gem_require_blitter(i915);
gem_require_contexts(i915);
misplaced_blitter(bops);
}
--
2.25.1
More information about the igt-dev
mailing list