drm: Change deadlock-avoidance algorithm for the modeset locks.
authorThomas Hellstrom <thellstrom@vmware.com>
Thu, 14 Jun 2018 07:29:22 +0000 (09:29 +0200)
committerThomas Hellstrom <thellstrom@vmware.com>
Tue, 3 Jul 2018 07:46:05 +0000 (09:46 +0200)
commit07c13bb78c8b8a9cb6ee169659528945038d5e85
tree25705151c707f97c7861e89e2b5aebbf92b14055
parent08295b3b5beec9aac0f7a9db86f0fc3792039da3
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>
drivers/gpu/drm/drm_modeset_lock.c