summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-01-18 20:48:55 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2017-01-18 20:50:06 +0000
commit25d73dd7ab73dadcc618a7c3d81c150a57a10ba6 (patch)
tree02e886991b15dfb9e847befae3ddc2f31234505b /tests
parent74d0912396af0bfab1d2c90f609abc42c3e8990b (diff)
igt/gem_ringfill: Drop SECURE dispatch for gen2/3
It's not required, and fails completely without the master fd (i.e. on the new newfd tests). Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests')
-rw-r--r--tests/gem_ringfill.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/gem_ringfill.c b/tests/gem_ringfill.c
index 24bc70b5..36a05c6e 100644
--- a/tests/gem_ringfill.c
+++ b/tests/gem_ringfill.c
@@ -100,8 +100,6 @@ static int setup_execbuf(int fd,
execbuf->buffers_ptr = to_user_pointer(obj);
execbuf->flags = ring | (1 << 11) | (1 << 12);
- if (gen < 6)
- execbuf->flags |= I915_EXEC_SECURE;
obj[0].handle = gem_create(fd, 4096);
gem_write(fd, obj[0].handle, 0, &bbe, sizeof(bbe));
@@ -248,7 +246,7 @@ igt_main
int fd;
igt_fixture
- fd = drm_open_driver_master(DRIVER_INTEL);
+ fd = drm_open_driver(DRIVER_INTEL);
for (m = modes; m->suffix; m++) {
for (e = intel_execution_engines; e->name; e++) {