OSDN Git Service

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)
commitdcf9af822803bcc2cd9e8009648547e6060b59a0
treef9c9d0d96d6685d04f46ee8190f8e3c24d95d125
parent62fb376e214d3c1bfdf6fbb77dac162f6da04d7e
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