[PATCH 1/3] drm: no need to hold global mutex for static data

Daniel Vetter daniel at ffwll.ch
Wed Oct 26 00:44:01 PDT 2011


On Tue, Oct 25, 2011 at 10:20:12PM -0400, Ilija Hadzic wrote:
> 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 at research.bell-labs.com>
Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
-- 
Daniel Vetter
Mail: daniel at ffwll.ch
Mobile: +41 (0)79 365 57 48


More information about the dri-devel mailing list