]> 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)
commit2ae2042b9a3ffd65b69f831120c4e02bb49c893b
tree25705151c707f97c7861e89e2b5aebbf92b14055
parent6e75b13d7939c6e3a0562470c6b6d75eeb038b35
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