aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Cheney2014-12-16 11:22:38 -0600
committerVishal Mahaveer2015-10-07 16:42:25 -0500
commitcc8b4d68aca722848bf859b89174137952398b5e (patch)
tree16d14c5b440ceb1348ce0e4dd41e3cdb596e1fbd
parente4013228673a26ff7043972f6c5a053c02663b71 (diff)
downloadlibdrm-cc8b4d68aca722848bf859b89174137952398b5e.tar.gz
libdrm-cc8b4d68aca722848bf859b89174137952398b5e.tar.xz
libdrm-cc8b4d68aca722848bf859b89174137952398b5e.zip
Add new DRM_MODE_CONNECTOR and _ENCODER definesHEADmaster
Update drm_mode.h defines from kernel upstream for connector and encoder types to expose DSI and other newly defined types. Signed-off-by: Adam Cheney <acheney@nvidia.com> Signed-off-by: Rob Clark <robclark@freedesktop.org>
-rw-r--r--include/drm/drm_mode.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/drm/drm_mode.h b/include/drm/drm_mode.h
index c1bb1a30..2fd286c9 100644
--- a/include/drm/drm_mode.h
+++ b/include/drm/drm_mode.h
@@ -173,6 +173,9 @@ struct drm_mode_get_plane_res {
173#define DRM_MODE_ENCODER_TMDS 2 173#define DRM_MODE_ENCODER_TMDS 2
174#define DRM_MODE_ENCODER_LVDS 3 174#define DRM_MODE_ENCODER_LVDS 3
175#define DRM_MODE_ENCODER_TVDAC 4 175#define DRM_MODE_ENCODER_TVDAC 4
176#define DRM_MODE_ENCODER_VIRTUAL 5
177#define DRM_MODE_ENCODER_DSI 6
178#define DRM_MODE_ENCODER_DPMST 7
176 179
177struct drm_mode_get_encoder { 180struct drm_mode_get_encoder {
178 __u32 encoder_id; 181 __u32 encoder_id;
@@ -210,6 +213,8 @@ struct drm_mode_get_encoder {
210#define DRM_MODE_CONNECTOR_HDMIB 12 213#define DRM_MODE_CONNECTOR_HDMIB 12
211#define DRM_MODE_CONNECTOR_TV 13 214#define DRM_MODE_CONNECTOR_TV 13
212#define DRM_MODE_CONNECTOR_eDP 14 215#define DRM_MODE_CONNECTOR_eDP 14
216#define DRM_MODE_CONNECTOR_VIRTUAL 15
217#define DRM_MODE_CONNECTOR_DSI 16
213 218
214struct drm_mode_get_connector { 219struct drm_mode_get_connector {
215 220