aboutsummaryrefslogtreecommitdiffstats
path: root/tools/intel_reg.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/intel_reg.c')
-rw-r--r--tools/intel_reg.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/intel_reg.c b/tools/intel_reg.c
index 1247b70b..e517956b 100644
--- a/tools/intel_reg.c
+++ b/tools/intel_reg.c
@@ -329,9 +329,7 @@ static int register_srm(struct config *config, struct reg *reg,
memset(&execbuf, 0, sizeof(execbuf));
execbuf.buffers_ptr = to_user_pointer(obj);
execbuf.buffer_count = 2;
- execbuf.flags = gem_class_instance_to_eb_flags(fd,
- engine->class,
- engine->instance);
+ execbuf.flags = engine->flags;
if (secure)
execbuf.flags |= I915_EXEC_SECURE;