OpenCloudOS-Kernel/drivers/gpu/drm/omapdrm
YoungJun Cho 4368dd846d 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 <yj44.cho@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2013-06-28 12:30:15 +10:00
..
Kconfig drm/omap: drop the !FB_OMAP2 dep 2013-06-28 12:08:10 +10:00
Makefile
TODO
omap_connector.c drm/omap: Make fixed resolution panels work 2013-04-11 13:25:52 +03:00
omap_crtc.c drm: Drop all the stub gamma_get, gamma_set, load_lut functions from drivers 2013-06-17 19:42:47 +10:00
omap_debugfs.c
omap_dmm_priv.h
omap_dmm_tiler.c Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2013-02-25 16:46:44 -08:00
omap_dmm_tiler.h
omap_drv.c Merge branch 'fbdev-3.10-fixes' of git://gitorious.org/linux-omap-dss2/linux into linux-fbdev/for-3.10-fixes 2013-05-29 17:00:34 +08:00
omap_drv.h drm/omap: Fix and improve crtc and overlay manager correlation 2013-04-11 13:26:01 +03:00
omap_encoder.c drm/omap: Fix and improve crtc and overlay manager correlation 2013-04-11 13:26:01 +03:00
omap_fb.c Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2013-02-25 16:46:44 -08:00
omap_fbdev.c drm: Drop all the stub gamma_get, gamma_set, load_lut functions from drivers 2013-06-17 19:42:47 +10:00
omap_gem.c Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2013-02-25 16:46:44 -08:00
omap_gem_dmabuf.c drm/gem: add mutex lock when using drm_gem_mmap_obj 2013-06-28 12:30:15 +10:00
omap_gem_helpers.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2013-02-26 20:16:07 -08:00
omap_irq.c drm/omap: Fix and improve crtc and overlay manager correlation 2013-04-11 13:26:01 +03:00
omap_plane.c drm/omap: Take a fb reference in omap_plane_update() 2013-04-11 13:25:57 +03:00
tcm-sita.c
tcm-sita.h
tcm.h