diff options
author | Inki Dae <inki.dae@samsung.com> | 2012-04-03 21:27:58 +0900 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2012-04-03 21:27:58 +0900 |
commit | dcf9af822803bcc2cd9e8009648547e6060b59a0 (patch) | |
tree | f9c9d0d96d6685d04f46ee8190f8e3c24d95d125 /include/drm | |
parent | 62fb376e214d3c1bfdf6fbb77dac162f6da04d7e (diff) | |
download | linux-dcf9af822803bcc2cd9e8009648547e6060b59a0.tar.gz linux-dcf9af822803bcc2cd9e8009648547e6060b59a0.tar.bz2 linux-dcf9af822803bcc2cd9e8009648547e6060b59a0.zip |
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')
-rw-r--r-- | include/drm/exynos_drm.h | 3 |
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 |