[Intel-gfx] [PATCH igt 2/2] igt/drv_misssed_irq: Skip on guc

Chris Wilson chris at chris-wilson.co.uk
Tue Oct 24 15:29:03 UTC 2017


Since the driver's guc submission method requires the breadcrumbs irq
for feeding requests to the guc, we cannot simply simulate a missing irq
by disabling the interrupts.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Cc: Michał Winiarski <michal.winiarski at intel.com>
---
 tests/drv_missed_irq.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/drv_missed_irq.c b/tests/drv_missed_irq.c
index 10328b2b..68356a24 100644
--- a/tests/drv_missed_irq.c
+++ b/tests/drv_missed_irq.c
@@ -97,6 +97,7 @@ igt_simple_main
 
 	device = drm_open_driver(DRIVER_INTEL);
 	igt_require_gem(device);
+	igt_require(!gem_has_guc_submission(device)); /* irq forced for guc */
 	gem_require_mmap_wc(device);
 	igt_fork_hang_detector(device);
 
-- 
2.15.0.rc1



More information about the Intel-gfx mailing list