summaryrefslogtreecommitdiff
path: root/include/drm/exynos_drm.h
diff options
context:
space:
mode:
authorInki Dae <inki.dae@samsung.com>2012-04-03 16:27:58 +0400
committerInki Dae <inki.dae@samsung.com>2012-04-03 16:27:58 +0400
commitdcf9af822803bcc2cd9e8009648547e6060b59a0 (patch)
treef9c9d0d96d6685d04f46ee8190f8e3c24d95d125 /include/drm/exynos_drm.h
parent62fb376e214d3c1bfdf6fbb77dac162f6da04d7e (diff)
downloadlinux-dcf9af822803bcc2cd9e8009648547e6060b59a0.tar.xz
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>
Diffstat (limited to 'include/drm/exynos_drm.h')
-rw-r--r--include/drm/exynos_drm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/drm/exynos_drm.h b/include/drm/exynos_drm.h
index 3963116083ae..1bb2d4719201 100644
--- a/include/drm/exynos_drm.h
+++ b/include/drm/exynos_drm.h
@@ -96,7 +96,8 @@ struct drm_exynos_plane_set_zpos {
/* memory type definitions. */
enum e_drm_exynos_gem_mem_type {
/* Physically Non-Continuous memory. */
- EXYNOS_BO_NONCONTIG = 1 << 0
+ EXYNOS_BO_NONCONTIG = 1 << 0,
+ EXYNOS_BO_MASK = EXYNOS_BO_NONCONTIG
};
#define DRM_EXYNOS_GEM_CREATE 0x00