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

2011-10-26 Thread Daniel Vetter
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 Reviewed-by: Daniel Vetter -- Daniel Vetter Mail: danie

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

2011-10-26 Thread Daniel Vetter
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 Reviewed-by: Daniel Vetter -- Daniel Vetter Mail: dan..

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

2011-10-25 Thread Ilija Hadzic
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 --- drivers/gpu/drm/drm_drv.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/drm_dr

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

2011-10-25 Thread Ilija Hadzic
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 --- drivers/gpu/drm/drm_drv.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/drm_dr