drm/exynos: use a new anon file for exynos gem mmaper
authorInki Dae <inki.dae@samsung.com>
Fri, 11 Jul 2014 06:15:55 +0000 (15:15 +0900)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 03:00:02 +0000 (12:00 +0900)
commit526d2506e08efeafe8710d3bc60a55ae625dff28
treeb89d8af8baaa43035bbc6f23bfa5eee3d24879ed
parent43eb59c3e758fe7057b82c9672e4bcdc3238f90a
drm/exynos: use a new anon file for exynos gem mmaper

This patch resolves potential deadlock issue that can be incurred
by changing file->f_op and filp->private_data to exynos specific
mapper ops and gem object temporarily.

To resolve this issue, this patch creates a new anon file dedicated
to exynos specific mmaper, and making it used instead of existing one.

Change-Id: I7e49302561385f4a2ce4e06980c25481d0d2e91c
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_drv.c
drivers/gpu/drm/exynos/exynos_drm_drv.h
drivers/gpu/drm/exynos/exynos_drm_gem.c
drivers/gpu/drm/exynos/exynos_drm_gem.h