diff options
author | Chris Wilson <[email protected]> | 2016-01-15 16:51:46 +0000 |
---|---|---|
committer | Tvrtko Ursulin <[email protected]> | 2016-01-21 11:00:35 +0000 |
commit | 426960bed3217f72a1b7bb94f084d79cc616ec0f (patch) | |
tree | f26fb2afc54529609c28397c43fdc1207fb33907 /tools/perf/scripts/python/stackcollapse.py | |
parent | de1add360522c876c25ef2bbbbab1c94bdb509ab (diff) |
drm/i915: Seal busy-ioctl uABI and prevent leaking of internal ids
Tvrtko was looking through the execbuffer-ioctl and noticed that the
uABI was tightly coupled to our internal engine identifiers. Close
inspection also revealed that we leak those internal engine identifiers
through the busy-ioctl, and those internal identifiers already do not
match the user identifiers. Fortuitiously, there is only one user of the
set of busy rings from the busy-ioctl, and they only wish to choose
between the RENDER and the BLT engines.
Let's fix the userspace ABI while we still can.
v2: Update the uAPI documentation to explain the identifiers.
Signed-off-by: Chris Wilson <[email protected]>
Testcase: igt/gem_busy
Cc: Tvrtko Ursulin <[email protected]>
Cc: Daniel Vetter <[email protected]>
Reviewed-by: Tvrtko Ursulin <[email protected]>
Acked-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions