]> 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)
commit52fba89545c1291e4a7d350d83586e69efc3bc40
treef9c9d0d96d6685d04f46ee8190f8e3c24d95d125
parent982e18ce2baa0b7542ca8d4f9cbb003ab8bd4959
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