[Freedreno] [PATCH] drm/msm: Separate locking of buffer resources from struct_mutex

2017-06-13 Thread Sushmita Susheelendra
also removes unnecessary serialization when creating buffer objects, and also between buffer object creation and GPU command submission. Change-Id: I4fba9f8c38a6cd13f80f660639d1e74d4336e3fb Signed-off-by: Sushmita Susheelendra --- drivers/gpu/drm/msm/adreno/a5xx_gpu.c| 2 - drivers/gpu/drm

Re: [Freedreno] [PATCH] fixup! drm/msm: Separate locking of buffer resources from struct_mutex

2017-06-16 Thread Sushmita Susheelendra
Sounds good. On 2017-06-16 15:44, Rob Clark wrote: On Fri, Jun 16, 2017 at 5:32 PM, wrote: Hi Rob, This looks good to me! Just one nit: msm_gem_vunmap becomes very shrinker specific as it holds the msm_obj->lock with the shrinker class. Should we have the caller i.e. msm_gem_shrinker_vmap

Re: [Freedreno] [PATCH] drm/msm: unlock on error in msm_gem_get_iova()

2017-07-10 Thread Sushmita Susheelendra
Thanks for the catch! -Sushmita On 2017-07-10 01:20, Dan Carpenter wrote: We recently added locking to this function but there was a direct return that was overlooked where we need to unlock. Fixes: 0e08270a1f01 ("drm/msm: Separate locking of buffer resources from struct_mutex") Signed-off-by