summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdam Cheney <acheney@nvidia.com>2014-12-16 12:22:38 -0500
committerRob Clark <robclark@freedesktop.org>2015-01-05 14:30:57 -0500
commit566c3ce877a4be72697e15cdfc421ce965f7c37d (patch)
treefdfb7dcbc355588cb7edc50f22fd010d1f392583 /include
parentf99522e678dbbaffeca9462a8edcbe900574dc12 (diff)
Add new DRM_MODE_CONNECTOR and _ENCODER defines
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>
Diffstat (limited to 'include')
-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 476e7049..a2ab88a5 100644
--- a/include/drm/drm_mode.h
+++ b/include/drm/drm_mode.h
@@ -173,6 +173,9 @@ struct drm_mode_get_plane_res {
#define DRM_MODE_ENCODER_TMDS 2
#define DRM_MODE_ENCODER_LVDS 3
#define DRM_MODE_ENCODER_TVDAC 4
+#define DRM_MODE_ENCODER_VIRTUAL 5
+#define DRM_MODE_ENCODER_DSI 6
+#define DRM_MODE_ENCODER_DPMST 7
struct drm_mode_get_encoder {
__u32 encoder_id;
@@ -210,6 +213,8 @@ struct drm_mode_get_encoder {
#define DRM_MODE_CONNECTOR_HDMIB 12
#define DRM_MODE_CONNECTOR_TV 13
#define DRM_MODE_CONNECTOR_eDP 14
+#define DRM_MODE_CONNECTOR_VIRTUAL 15
+#define DRM_MODE_CONNECTOR_DSI 16
struct drm_mode_get_connector {