igt/gem_exec_suspend: Allow suspend testing on gen6

Filter out the request to execute on gen6/bsd to prevent skips.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2016-03-21 11:59:34 +00:00
parent d5e550f5c6
commit a03ee8f6c8

View File

@ -55,10 +55,15 @@ static void check_bo(int fd, uint32_t handle)
static void test_all(int fd, unsigned flags)
{
const int gen = intel_gen(intel_get_drm_devid(fd));
unsigned engine;
for_each_engine(fd, engine)
for_each_engine(fd, engine) {
if (gen == 6 && (engine & ~(3<<13)) == I915_EXEC_BSD)
continue;
run_test(fd, engine, flags & ~0xff);
}
}
static void run_test(int fd, unsigned ring, unsigned flags)