diff options
Diffstat (limited to 'include/drm/exynos_drm.h')
-rw-r--r-- | include/drm/exynos_drm.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/drm/exynos_drm.h b/include/drm/exynos_drm.h index 81c9cb77476e..3963116083ae 100644 --- a/include/drm/exynos_drm.h +++ b/include/drm/exynos_drm.h | |||
@@ -74,6 +74,20 @@ struct drm_exynos_gem_mmap { | |||
74 | uint64_t mapped; | 74 | uint64_t mapped; |
75 | }; | 75 | }; |
76 | 76 | ||
77 | /** | ||
78 | * A structure for user connection request of virtual display. | ||
79 | * | ||
80 | * @connection: indicate whether doing connetion or not by user. | ||
81 | * @extensions: if this value is 1 then the vidi driver would need additional | ||
82 | * 128bytes edid data. | ||
83 | * @edid: the edid data pointer from user side. | ||
84 | */ | ||
85 | struct drm_exynos_vidi_connection { | ||
86 | unsigned int connection; | ||
87 | unsigned int extensions; | ||
88 | uint64_t *edid; | ||
89 | }; | ||
90 | |||
77 | struct drm_exynos_plane_set_zpos { | 91 | struct drm_exynos_plane_set_zpos { |
78 | __u32 plane_id; | 92 | __u32 plane_id; |
79 | __s32 zpos; | 93 | __s32 zpos; |
@@ -90,6 +104,7 @@ enum e_drm_exynos_gem_mem_type { | |||
90 | #define DRM_EXYNOS_GEM_MMAP 0x02 | 104 | #define DRM_EXYNOS_GEM_MMAP 0x02 |
91 | /* Reserved 0x03 ~ 0x05 for exynos specific gem ioctl */ | 105 | /* Reserved 0x03 ~ 0x05 for exynos specific gem ioctl */ |
92 | #define DRM_EXYNOS_PLANE_SET_ZPOS 0x06 | 106 | #define DRM_EXYNOS_PLANE_SET_ZPOS 0x06 |
107 | #define DRM_EXYNOS_VIDI_CONNECTION 0x07 | ||
93 | 108 | ||
94 | #define DRM_IOCTL_EXYNOS_GEM_CREATE DRM_IOWR(DRM_COMMAND_BASE + \ | 109 | #define DRM_IOCTL_EXYNOS_GEM_CREATE DRM_IOWR(DRM_COMMAND_BASE + \ |
95 | DRM_EXYNOS_GEM_CREATE, struct drm_exynos_gem_create) | 110 | DRM_EXYNOS_GEM_CREATE, struct drm_exynos_gem_create) |
@@ -103,6 +118,9 @@ enum e_drm_exynos_gem_mem_type { | |||
103 | #define DRM_IOCTL_EXYNOS_PLANE_SET_ZPOS DRM_IOWR(DRM_COMMAND_BASE + \ | 118 | #define DRM_IOCTL_EXYNOS_PLANE_SET_ZPOS DRM_IOWR(DRM_COMMAND_BASE + \ |
104 | DRM_EXYNOS_PLANE_SET_ZPOS, struct drm_exynos_plane_set_zpos) | 119 | DRM_EXYNOS_PLANE_SET_ZPOS, struct drm_exynos_plane_set_zpos) |
105 | 120 | ||
121 | #define DRM_IOCTL_EXYNOS_VIDI_CONNECTION DRM_IOWR(DRM_COMMAND_BASE + \ | ||
122 | DRM_EXYNOS_VIDI_CONNECTION, struct drm_exynos_vidi_connection) | ||
123 | |||
106 | #ifdef __KERNEL__ | 124 | #ifdef __KERNEL__ |
107 | 125 | ||
108 | /** | 126 | /** |