diff options
author | YoungJun Cho <[email protected]> | 2013-06-27 08:39:58 +0900 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2013-06-28 12:30:15 +1000 |
commit | 4368dd846d067ed7d11281050e7676ae614d6053 (patch) | |
tree | e97b6d50520fa74b0281000425fe54ed37c52665 /include/linux/fpga/fpga-mgr.h | |
parent | 2644ee9614be67abe155f1073bb9e1b737bbca53 (diff) |
drm/gem: add mutex lock when using drm_gem_mmap_obj
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 <[email protected]>
Signed-off-by: Seung-Woo Kim <[email protected]>
Signed-off-by: Kyungmin Park <[email protected]>
Reviewed-by: Maarten Lankhorst <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Reviewed-by: Rob Clark <[email protected]>
Reviewed-by: Maarten Lankhorst <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions