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)
commitf6ead8dea518d0d02c576432eba4fa145e64b02a
treee4e82e1408e4133ef06b40d47d9be9eae4d1d2a3
parent887ea3db26ec8a43b650ada273e1159492939c10
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