A fix for a locking bug which is triggered when a client tries to lock with
authorThomas Hellstrom <unichrome@shipmail.org>
Wed, 20 Apr 2005 18:50:49 +0000 (18:50 +0000)
committerThomas Hellstrom <unichrome@shipmail.org>
Wed, 20 Apr 2005 18:50:49 +0000 (18:50 +0000)
commit699d4ad53a62e46344b672365dda0be4001edd99
tree1ac0e9023041d9962ad16debe48afdc0f64935b3
parent2b8dc25dc549533f1567093fb7dffc06d6f55268
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.
linux-core/drm_lock.c
linux/drm_drv.h