• Dave Airlie's avatar
    drm: fix quiescent locking · cf65f162
    Dave Airlie authored
    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: default avatarDave Airlie <airlied@linux.ie>
    cf65f162
drm_lock.c 8.49 KB