drm: no need to hold global mutex for static data
authorIlija Hadzic <ihadzic@research.bell-labs.com>
Wed, 26 Oct 2011 02:20:12 +0000 (22:20 -0400)
committerDave Airlie <airlied@redhat.com>
Thu, 5 Jan 2012 14:42:52 +0000 (14:42 +0000)
drm_getcap and drm_version ioctls only reads static data,
there is no need to protect them with drm_global_mutex,
so make them DRM_UNLOCKED

Signed-off-by: Ilija Hadzic <ihadzic@research.bell-labs.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>

No differences found