aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2019-11-26 06:55:21 +0000
committerJoonas Lahtinen <[email protected]>2019-11-27 10:12:19 +0200
commit3cc44feb9861d2f5267af9b962ae92c5ea1b48fd (patch)
treec99cc8acadf48994107b7c90034eecb2c3ae39c8 /lib/memory-notifier-error-inject.c
parent8d15ede5cc6b66d5176856060b94196bc3382283 (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 <[email protected]> Fixes: a9877da2d629 ("drm/i915/oa: Reconfigure contexts on the fly") Reviewed-by: Tvrtko Ursulin <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] (cherry picked from commit 58b4c1a07ada7fb91ea757bdb9bd47df02207357) Signed-off-by: Joonas Lahtinen <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions