drm/nouveau: Avoid lock dependency between ramht and ramin spinlocks.
authorFrancisco Jerez <currojerez@riseup.net>
Mon, 11 Oct 2010 01:37:32 +0000 (03:37 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 18 Nov 2010 04:38:22 +0000 (14:38 +1000)
commit7bb94d26ad62ca1d6b5e11db6e26425785cc46ac
tree7e05690c2fb37172ff1cfd82c130320daf13aa0e
parentcbab95db84f2a444d99bec77bac8b9b6ef20d11c
drm/nouveau: Avoid lock dependency between ramht and ramin spinlocks.

The ramht code called some gpuobj functions with the HARDIRQ-safe
RAMHT spinlock held, this could potentially lead to a dead lock
because ramin_lock is HARDIRQ-unsafe.

Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_ramht.c