OSDN Git Service

drm/mst: fix recursive sleep warning on qlock
authorDaniel Vetter <daniel@ffwll.ch>
Wed, 28 Jan 2015 09:02:23 +0000 (10:02 +0100)
committerDave Airlie <airlied@redhat.com>
Tue, 10 Mar 2015 03:44:31 +0000 (13:44 +1000)
commitcd961bb9eebb630452f49dcbf3e5f0059428614a
treedb28d46862007f363a1a88873e5ead3147baf38b
parent9a6f5130143c17b91e0a3cbf5cc2d8c1e5a80a63
drm/mst: fix recursive sleep warning on qlock

With drm-next, we can get a backtrace from sleeping
with mutex detection.

this is due to the callback checking the txmsg state taking
the mutex, which can cause a sleep inside a sleep,

Daniel went over it and was happy we could drop this mutex
in this case.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_dp_mst_topology.c