summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/gt/intel_engine.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2020-01-10 11:04:01 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2020-01-10 14:48:34 +0000
commit1b8bfc57267213ddf7f0b03cbd4c40aa65b530d6 (patch)
treee29d4c0fe5a0738b348e047ce8eafca1116fda25 /drivers/gpu/drm/i915/gt/intel_engine.h
parent80e5351df13a5c4e9ecc14a58fa60c84d356ee87 (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 <lionel.g.landwerlin@intel.com> Fixes: b1e3177bd1d8 ("drm/i915: Coordinate i915_active with its own mutex") Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200110110402.1231745-2-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/gt/intel_engine.h')
0 files changed, 0 insertions, 0 deletions