diff options
author | Inki Dae <inki.dae@samsung.com> | 2012-03-16 10:47:05 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-03-20 10:40:21 +0100 |
commit | 2b35892e9da672df40ce890bffc4f9f6119c57e0 (patch) | |
tree | 89c7faa07c4ffd583d08f83c0ddf7f8b7da01f76 /include | |
parent | drm/exynos: added mode_fixup feature and code clean. (diff) | |
download | linux-2b35892e9da672df40ce890bffc4f9f6119c57e0.tar.xz linux-2b35892e9da672df40ce890bffc4f9f6119c57e0.zip |
drm/exynos: update gem and buffer framework.
with this patch, we can allocate physically continuous or non-continuous
memory and also it creates scatterlist for iommu support so allocated
memory region can be mapped to iommu page table using scatterlist.
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/drm/exynos_drm.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/drm/exynos_drm.h b/include/drm/exynos_drm.h index aff2313c1274..81c9cb77476e 100644 --- a/include/drm/exynos_drm.h +++ b/include/drm/exynos_drm.h @@ -79,6 +79,12 @@ struct drm_exynos_plane_set_zpos { __s32 zpos; }; +/* memory type definitions. */ +enum e_drm_exynos_gem_mem_type { + /* Physically Non-Continuous memory. */ + EXYNOS_BO_NONCONTIG = 1 << 0 +}; + #define DRM_EXYNOS_GEM_CREATE 0x00 #define DRM_EXYNOS_GEM_MAP_OFFSET 0x01 #define DRM_EXYNOS_GEM_MMAP 0x02 |