]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drm/exynos: use a new anon file for exynos gem mmaper
authorInki Dae <inki.dae@samsung.com>
Fri, 20 Dec 2013 10:16:24 +0000 (19:16 +0900)
committerInki Dae <inki.dae@samsung.com>
Tue, 7 Jan 2014 07:51:41 +0000 (16:51 +0900)
commit96f5421523dfdcfb67e66e0f51c4b64d2c12137c
tree6cbb770065605940e8d1d89b902c198a8dff4fb5
parentfe3c703c3d80bd4c2da0d47a7d56930926af7cbc
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.

Signed-off-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@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