mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-27 17:56:15 +00:00
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:
parent
d5e550f5c6
commit
a03ee8f6c8
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user