From 4bfbe4c69e95ae3aaaa151f3ffcdd1d3e112214b Mon Sep 17 00:00:00 2001 From: Thierry Reding Date: Wed, 17 Dec 2014 11:53:31 +0100 Subject: [PATCH] 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 Signed-off-by: Thierry Reding --- xf86drmMode.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xf86drmMode.h b/xf86drmMode.h index 00ad81d1..5b390d9f 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)