]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2d67d84b32203f82f68e6e8f315b04bb189810c4
tree25705151c707f97c7861e89e2b5aebbf92b14055
parent59128407ca946f2409c267289969263d5446d5ff
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