]> git.baikalelectronics.ru Git - kernel.git/commit
drm/exynos: fixed page align and code clean.
authorInki Dae <inki.dae@samsung.com>
Tue, 3 Apr 2012 12:27:58 +0000 (21:27 +0900)
committerInki Dae <inki.dae@samsung.com>
Tue, 3 Apr 2012 12:27:58 +0000 (21:27 +0900)
commit3fc4db4301c51f13c11c7194fc6591a3a81a2e05
treef9c9d0d96d6685d04f46ee8190f8e3c24d95d125
parent869197d1c5a7df6d551e9c8e31400a73aca47e80
drm/exynos: fixed page align and code clean.

1M section, 64k page count also should be rounded up so this patch
rounds up them and caculates page count of them properly and also
checks memory flags from user.

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