[igt-dev] [PATCH] igt: Markup more tests that require GEM

Chris Wilson chris at chris-wilson.co.uk
Fri Aug 17 11:50:03 UTC 2018


Quoting Gwan-gyeong Mun (2018-07-24 13:17:19)

igt_require_gem() is overkill for set-tiling. igt_require_gem() role is
to determine if we can execute; for a large part the memory management
aspect has to always work if the module is loaded, tiling included.

If you
$ echo 0 > /sys/modules/i915/parameters/reset
$ echo -1 > /sys/kernel/debug/dri/0/i915_wedged
you will end with an wedged driver. Any test that fails in that state is
missing the igt_require_gem(). Of course, some that fail may be a kernel
bug in not providing enough working interfaces after being wedged...
-Chris


More information about the igt-dev mailing list