summaryrefslogtreecommitdiff
path: root/tests/gem_sync.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-02-04 10:03:06 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2017-02-04 16:19:49 +0000
commit879900ef070fcb88c425d3e669f1257d4cc8661f (patch)
treec338bc447f36231f4dba90108e7db3d60006da82 /tests/gem_sync.c
parent25b5a74b7f096c870bd2d0fa6e058d5f1acca45b (diff)
igt/gem_sync: Relax gen2 filtering
The most basic sync test uses a nop batch, no stores. This is safe to run on gen2. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/gem_sync.c')
-rw-r--r--tests/gem_sync.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/gem_sync.c b/tests/gem_sync.c
index a6669a8f..33d356ad 100644
--- a/tests/gem_sync.c
+++ b/tests/gem_sync.c
@@ -719,11 +719,6 @@ out:
close(dir);
}
-static bool can_store_dword_imm(int fd)
-{
- return intel_gen(intel_gen(intel_get_drm_devid(fd))) > 2;
-}
-
igt_main
{
const struct intel_execution_engine *e;
@@ -734,7 +729,6 @@ igt_main
igt_fixture {
fd = drm_open_driver(DRIVER_INTEL);
- igt_require(can_store_dword_imm(fd));
print_welcome(fd);
igt_fork_hang_detector(fd);