]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit030e475cda639da81b6ec5da2a838ae3fe264938
treeab3f9ed2e01e7dad18f05554b2944639a6c46686
parent62b38d4d1728504215f47651c62c25200192b1f7
drm: no need to hold global mutex for static data

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>
drivers/gpu/drm/drm_drv.c