From: Dave Airlie Date: Thu, 24 Nov 2005 10:41:14 +0000 (+1100) Subject: drm: fix quiescent locking X-Git-Tag: v2.6.15-rc3~37^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf65f1623dd005ddfb1cbba20af3423a6c638dbe;p=pandora-kernel.git drm: fix quiescent locking A fix for a locking bug which is triggered when a client tries to lock with flag DMA_QUIESCENT (typically the X server), but gets interrupted by a signal. The locking IOCTL should then return an error, but if DMA_QUIESCENT succeeds it returns 0, and the client falsely thinks it has the lock. In addition The client waits for DMA_QUISCENT and possibly DMA_READY without having the lock. From: Thomas Hellstrom Signed-off-by: Dave Airlie --- Reading git-diff-tree failed