Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 07c13bb7 authored by Thomas Hellstrom's avatar Thomas Hellstrom
Browse files

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: default avatarThomas Hellstrom <thellstrom@vmware.com>
Acked-by: default avatarIngo Molnar <mingo@kernel.org>
parent 08295b3b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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