diff options
| author | Chris Wilson <[email protected]> | 2019-08-08 12:06:12 +0100 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2019-08-08 15:45:35 +0100 |
| commit | f1c4d157ab9b13c1228f3b8ad7747126785460d0 (patch) | |
| tree | 802df14f114737e7ab5314ae853bd27f2657944a /tools/perf/scripts/python | |
| parent | 387758298bfdec9fbb74406207eb648bb6391670 (diff) | |
drm/i915: Fix up the inverse mapping for default ctx->engines[]
The order in which we store the engines inside default_engines() for the
legacy ctx->engines[] has to match the legacy I915_EXEC_RING selector
mapping in execbuf::user_map. If we present VCS2 as being the second
instance of the video engine, legacy userspace calls that I915_EXEC_BSD2
and so we need to insert it into the second video slot.
v2: Record the legacy mapping (hopefully we can remove this need in the
future)
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111328
Fixes: 2edda80db3d0 ("drm/i915: Rename engines to match their user interface")
Signed-off-by: Chris Wilson <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Reviewed-by: Mika Kuoppala <[email protected]> #v1
Reviewed-by: Mika Kuoppala <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions