diff options
author | Chris Wilson <[email protected]> | 2020-01-10 11:04:02 +0000 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2020-01-10 14:48:35 +0000 |
commit | 8ccfc20a7d56d7e16510e6e068ffb7b43c3ac100 (patch) | |
tree | 7af1b1a10d8fb31f2b441ce869489bd3e97ee95d /tools/perf/util/trace-event-scripting.c | |
parent | 1b8bfc57267213ddf7f0b03cbd4c40aa65b530d6 (diff) |
drm/i915/gt: Mark ring->vma as active while pinned
As we use the active state to keep the vma alive while we are reading
its contents during GPU error capture, we need to mark the
ring->vma as active during execution if we want to include the rinbuffer
in the error state.
Reported-by: Lionel Landwerlin <[email protected]>
Fixes: b1e3177bd1d8 ("drm/i915: Coordinate i915_active with its own mutex")
Signed-off-by: Chris Wilson <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Cc: Lionel Landwerlin <[email protected]>
Acked-by: Lionel Landwerlin <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions