projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08295b3
)
drm: Change deadlock-avoidance algorithm for the modeset locks.
author
Thomas Hellstrom
<thellstrom@vmware.com>
Thu, 14 Jun 2018 07:29:22 +0000
(09:29 +0200)
committer
Thomas Hellstrom
<thellstrom@vmware.com>
Tue, 3 Jul 2018 07:46:05 +0000
(09:46 +0200)
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
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/drm_modeset_lock.c
b/drivers/gpu/drm/drm_modeset_lock.c
index 638be2eb67b44e1b030e9705c4952ec2ba24e1bf..8a5100685875a38cc0f844c3c57d1273045d585f 100644
(file)
--- a/
drivers/gpu/drm/drm_modeset_lock.c
+++ b/
drivers/gpu/drm/drm_modeset_lock.c
@@
-70,7
+70,7
@@
* lists and lookup data structures.
*/
-static DEFINE_W
D
_CLASS(crtc_ww_class);
+static DEFINE_W
W
_CLASS(crtc_ww_class);
/**
* drm_modeset_lock_all - take all modeset locks