[PATCH libdrm 2/2] xf86drmMode.h: Add DisplayPort MST and DPI encoders/connectors
Thierry Reding
thierry.reding at gmail.com
Thu Jan 12 21:35:53 UTC 2017
From: Thierry Reding <treding at nvidia.com>
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
Signed-off-by: Thierry Reding <treding at nvidia.com>
---
xf86drmMode.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/xf86drmMode.h b/xf86drmMode.h
index 00ad81d17ef3..5b390d9fbeb6 100644
--- a/xf86drmMode.h
+++ b/xf86drmMode.h
@@ -130,6 +130,8 @@ extern "C" {
#define DRM_MODE_ENCODER_TVDAC 4
#define DRM_MODE_ENCODER_VIRTUAL 5
#define DRM_MODE_ENCODER_DSI 6
+#define DRM_MODE_ENCODER_DPMST 7
+#define DRM_MODE_ENCODER_DPI 8
#define DRM_MODE_SUBCONNECTOR_Automatic 0
#define DRM_MODE_SUBCONNECTOR_Unknown 0
@@ -157,6 +159,7 @@ extern "C" {
#define DRM_MODE_CONNECTOR_eDP 14
#define DRM_MODE_CONNECTOR_VIRTUAL 15
#define DRM_MODE_CONNECTOR_DSI 16
+#define DRM_MODE_CONNECTOR_DPI 17
#define DRM_MODE_PROP_PENDING (1<<0)
#define DRM_MODE_PROP_RANGE (1<<1)
--
2.11.0
More information about the dri-devel
mailing list