drm/nouveau/core: split lock into list+exec and enable refcount locks
authorBen Skeggs <bskeggs@redhat.com>
Wed, 2 Oct 2013 23:59:16 +0000 (09:59 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 8 Nov 2013 05:36:06 +0000 (15:36 +1000)
commit15689c3c819d1d659cff464f427f398758a683de
treee13de5a68558c7d2a3055a6ce632d0ac0e5d07bc
parent51cb4b392a307a8293b4f1f300ab803d7ad3b036
drm/nouveau/core: split lock into list+exec and enable refcount locks

This fixes a reported locking inversion when interacting with the DRM
core's vblank routines.

Reviewed-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/core/event.c
drivers/gpu/drm/nouveau/core/include/core/event.h