drm: Wake up all lock waiters when the master disappears.
authorThomas Hellstrom <thellstrom@vmware.com>
Mon, 2 Mar 2009 10:10:55 +0000 (11:10 +0100)
committerDave Airlie <airlied@linux.ie>
Mon, 2 Mar 2009 23:49:54 +0000 (09:49 +1000)
commit171901d15deeef61aa8e1b0d0772404f39691b73
tree7b455223711f255c70ecc8ed43b2a64acdf3547d
parent4d77c88e912e5eb9480432af09e950ca8995c253
drm: Wake up all lock waiters when the master disappears.

Currently only one waiter is woken up, leaving other waiters
hanging waiting for the DRM lock.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/gpu/drm/drm_bufs.c
drivers/gpu/drm/drm_stub.c