summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/display/intel_bw.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2019-11-26 06:55:21 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2019-11-26 12:45:45 +0000
commit58b4c1a07ada7fb91ea757bdb9bd47df02207357 (patch)
tree4a1f8e4170dc4ecfe4de86b0e6ef4da493e2441a /drivers/gpu/drm/i915/display/intel_bw.c
parent5766a5ffc6a69595903865518c43636bde0e4ac4 (diff)
drm/i915: Reduce nested prepare_remote_context() to a trylock
On context retiring, we may invoke the kernel_context to unpin this context. Elsewhere, we may use the kernel_context to modify this context. This currently leads to an AB-BA lock inversion, so we need to back-off from the contended lock, and repeat. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111732 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Fixes: a9877da2d629 ("drm/i915/oa: Reconfigure contexts on the fly") Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20191126065521.2331017-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_bw.c')
0 files changed, 0 insertions, 0 deletions