drm: Change deadlock-avoidance algorithm for the modeset locks.

For modeset locks we don't expect a high number of contending
transactions so change algorithm from Wait-Die to Wound-Wait.

Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Acked-by: Ingo Molnar <mingo@kernel.org>
This commit is contained in:
Thomas Hellstrom 2018-06-14 09:29:22 +02:00
parent 08295b3b5b
commit 07c13bb78c
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@
* lists and lookup data structures.
*/
static DEFINE_WD_CLASS(crtc_ww_class);
static DEFINE_WW_CLASS(crtc_ww_class);
/**
* drm_modeset_lock_all - take all modeset locks