diff mbox

[libdrm,2/2] xf86drmMode.h: Add DisplayPort MST and DPI encoders/connectors

Message ID 20170112213553.26732-2-thierry.reding@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Thierry Reding Jan. 12, 2017, 9:35 p.m. UTC
From: Thierry Reding <treding@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@nvidia.com>
---
 xf86drmMode.h | 3 +++
 1 file changed, 3 insertions(+)
diff mbox

Patch

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)