提交 07c13bb7 编写于 作者: T Thomas Hellstrom

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: NThomas Hellstrom <thellstrom@vmware.com>
Acked-by: NIngo Molnar <mingo@kernel.org>
上级 08295b3b
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册