]> git.baikalelectronics.ru Git - kernel.git/commit
drm/exynos: fixed exynos_drm_gem_map_pages bug.
authorInki Dae <inki.dae@samsung.com>
Mon, 23 Apr 2012 10:41:14 +0000 (19:41 +0900)
committerInki Dae <inki.dae@samsung.com>
Mon, 23 Apr 2012 11:31:45 +0000 (20:31 +0900)
commitd581e45b2564c06bed4c729b97884ceba68a4a14
treee4e82e1408e4133ef06b40d47d9be9eae4d1d2a3
parent817036fa114551473b28ef0503da6849a959e2af
drm/exynos: fixed exynos_drm_gem_map_pages bug.

this patch fixes the problem that the physical memory region to be mapped
to user space could be exceeded. if page fault address was placed at between
buffer start and end then memory region to be mapped would be exceeded.

Signed-off-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_gem.c