diff options
author | Inki Dae <inki.dae@samsung.com> | 2012-03-16 05:47:05 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-03-20 05:40:21 -0400 |
commit | 2b35892e9da672df40ce890bffc4f9f6119c57e0 (patch) | |
tree | 89c7faa07c4ffd583d08f83c0ddf7f8b7da01f76 /include | |
parent | 1de425b0bdbc457dbd4a012760da4a3f204d0ab3 (diff) |
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 { | |||
79 | __s32 zpos; | 79 | __s32 zpos; |
80 | }; | 80 | }; |
81 | 81 | ||
82 | /* memory type definitions. */ | ||
83 | enum e_drm_exynos_gem_mem_type { | ||
84 | /* Physically Non-Continuous memory. */ | ||
85 | EXYNOS_BO_NONCONTIG = 1 << 0 | ||
86 | }; | ||
87 | |||
82 | #define DRM_EXYNOS_GEM_CREATE 0x00 | 88 | #define DRM_EXYNOS_GEM_CREATE 0x00 |
83 | #define DRM_EXYNOS_GEM_MAP_OFFSET 0x01 | 89 | #define DRM_EXYNOS_GEM_MAP_OFFSET 0x01 |
84 | #define DRM_EXYNOS_GEM_MMAP 0x02 | 90 | #define DRM_EXYNOS_GEM_MMAP 0x02 |