• Daniel Vetter's avatar
    drm: Reject DRI1 hw lock ioctl functions for kms drivers · da168d81
    Daniel Vetter authored
    I've done some extensive history digging across libdrm, mesa and
    xf86-video-{intel,nouveau,ati}. The only potential user of this with
    kms drivers I could find was ttmtest, which once used drmGetLock
    still. But that mistake was quickly fixed up. Even the intel xvmc
    library (which otherwise was really good with using dri1 stuff in kms
    mode) managed to never take the hw lock for dri2 (and hence kms).
    
    Hence it should be save to unconditionally disallow this.
    
    Cc: Peter Antoine <peter.antoine@intel.com>
    Reviewed-by: default avatarPeter Antoine <peter.antoine@intel.com>
    Signed-off-by: default avatarDaniel Vetter <daniel.vetter@intel.com>
    da168d81
drm_lock.c 10.5 KB