diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-05-23 09:05:30 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-05-23 12:23:12 +0100 |
commit | 34a2d27d5b681e6f75d8aa76f75c20e56c287671 (patch) | |
tree | e1d6afe06ea1cf9adbe6f292376808c7ffdea93b /tools/intel_reg.c | |
parent | ed4a5515109ee83556f505a9519e33acd9518279 (diff) |
i915: Improve static engine map for legacy
We need to keep igt working on linus and dif, or Joonas gets very upset.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Andi Shyti <andi.shyti@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Andi Shyti <andi.shyti@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Diffstat (limited to 'tools/intel_reg.c')
-rw-r--r-- | tools/intel_reg.c | 4 |
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; |