diff options
author | Chris Wilson <[email protected]> | 2020-01-10 11:04:01 +0000 |
---|---|---|
committer | Joonas Lahtinen <[email protected]> | 2020-01-13 14:17:55 +0200 |
commit | e2c56d897315c7ddc78f05fae83f2b8df006e0a3 (patch) | |
tree | 36cb662214b03370d370f9aaf9c89e893dd4569f /lib/mpi/mpiutil.c | |
parent | c3866f54106d4a9175eb3a0c008e73c7d63e8464 (diff) |
drm/i915/gt: Mark context->state 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
context->state vma as active during execution if we want to include it
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 1b8bfc57267213ddf7f0b03cbd4c40aa65b530d6)
Signed-off-by: Joonas Lahtinen <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions