• Rob Clark's avatar
    drm: change ioctl permissions · 2216c9e7
    Rob Clark authored
    Previously read-only KMS ioctls had some somewhat inconsistent settings
    regarding whether mastership was required.  For example, GETRESOURCES
    did not require master, but GETPLANERESOURCES, GETPROPERTY, etc. did.
    
    At least for debugging, it is nice to be able to use modetest to dump
    property values while another process is master, and there seems to
    be no harm in allowing read-only access to the KMS state to other
    processes.
    Signed-off-by: default avatarRob Clark <rob@ti.com>
    Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
    2216c9e7
drm_drv.c 16.9 KB