Op 27-06-13 01:39, Seung-Woo Kim schreef:
From: YoungJun Cho yj44.cho@samsung.com
The drm_gem_mmap_obj() has to be protected with dev->struct_mutex, but some caller functions do not. So it adds mutex lock to missing callers and adds assertion to check whether drm_gem_mmap_obj() is called with mutex lock or not.
Signed-off-by: YoungJun Cho yj44.cho@samsung.com Signed-off-by: Seung-Woo Kim sw0312.kim@samsung.com Signed-off-by: Kyungmin Park kyungmin.park@samsung.com CC: Laurent Pinchart laurent.pinchart+renesas@ideasonboard.com CC: Rob Clark robdclark@gmail.com
Reviewed-by: Maarten Lankhorst maarten.lankhorst@canonical.com