diff options
author | Chris Wilson <[email protected]> | 2020-01-10 11:04:02 +0000 |
---|---|---|
committer | Joonas Lahtinen <[email protected]> | 2020-01-13 14:17:55 +0200 |
commit | dce54e861ec74d05cf0b737322700691e81be91b (patch) | |
tree | 3ec582646824d2296cf16dc42a030ebe6425f4f2 /lib/mpi/mpiutil.c | |
parent | e2c56d897315c7ddc78f05fae83f2b8df006e0a3 (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]
(cherry picked from commit 8ccfc20a7d56d7e16510e6e068ffb7b43c3ac100)
Signed-off-by: Joonas Lahtinen <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions