commit | c5b1247bd1c3ab6722acfa95213be9a16bfb664c | [log] [tgz] |
---|---|---|
author | Rob Clark <rob@ti.com> | Wed Jan 18 18:33:02 2012 -0600 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Feb 08 14:14:12 2012 -0800 |
tree | 3ef9b02ee38d547cf00a7400186deee87e117214 | |
parent | a9e8d70c1ac6c9ccf6852c91e082e28249564e6e [diff] |
staging: drm/omap: fix locking issue The create/free mmap offset code must be synchronized. Yet only some callers of omap_gem_mmap_offset() held struct_mutex. Leading to various crashes around drm_mm_insert_helper_range(). (In the free-object path, which is currently the only place we drm_gem_free_mmap_offset(), struct_mutex is already held.) Signed-off-by: Rob Clark <rob@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>