aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Reding2014-12-17 04:53:31 -0600
committerThierry Reding2017-01-18 01:34:49 -0600
commit4bfbe4c69e95ae3aaaa151f3ffcdd1d3e112214b (patch)
tree11ea5eeaf597a904ee148f35a8c0b5835064218f
parentab50ffbc703573c08e3053555414a6c4d7d778e8 (diff)
downloadexternal-libgbm-4bfbe4c69e95ae3aaaa151f3ffcdd1d3e112214b.tar.gz
external-libgbm-4bfbe4c69e95ae3aaaa151f3ffcdd1d3e112214b.tar.xz
external-libgbm-4bfbe4c69e95ae3aaaa151f3ffcdd1d3e112214b.zip
xf86drmMode.h: Add DisplayPort MST and DPI encoders/connectors
This brings xf86drmMode.h in sync with include/drm/drm_mode.h. Eventually we really should only have a single set of definitions rather than duplicating this in two files. v2: add DPI encoder and connector types introduced in Linux v4.7 Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
-rw-r--r--xf86drmMode.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/xf86drmMode.h b/xf86drmMode.h
index 00ad81d1..5b390d9f 100644
--- a/xf86drmMode.h
+++ b/xf86drmMode.h
@@ -130,6 +130,8 @@ extern "C" {
130#define DRM_MODE_ENCODER_TVDAC 4 130#define DRM_MODE_ENCODER_TVDAC 4
131#define DRM_MODE_ENCODER_VIRTUAL 5 131#define DRM_MODE_ENCODER_VIRTUAL 5
132#define DRM_MODE_ENCODER_DSI 6 132#define DRM_MODE_ENCODER_DSI 6
133#define DRM_MODE_ENCODER_DPMST 7
134#define DRM_MODE_ENCODER_DPI 8
133 135
134#define DRM_MODE_SUBCONNECTOR_Automatic 0 136#define DRM_MODE_SUBCONNECTOR_Automatic 0
135#define DRM_MODE_SUBCONNECTOR_Unknown 0 137#define DRM_MODE_SUBCONNECTOR_Unknown 0
@@ -157,6 +159,7 @@ extern "C" {
157#define DRM_MODE_CONNECTOR_eDP 14 159#define DRM_MODE_CONNECTOR_eDP 14
158#define DRM_MODE_CONNECTOR_VIRTUAL 15 160#define DRM_MODE_CONNECTOR_VIRTUAL 15
159#define DRM_MODE_CONNECTOR_DSI 16 161#define DRM_MODE_CONNECTOR_DSI 16
162#define DRM_MODE_CONNECTOR_DPI 17
160 163
161#define DRM_MODE_PROP_PENDING (1<<0) 164#define DRM_MODE_PROP_PENDING (1<<0)
162#define DRM_MODE_PROP_RANGE (1<<1) 165#define DRM_MODE_PROP_RANGE (1<<1)