From 665e8534ec8da8a40be2872972b476a71d6c71eb Mon Sep 17 00:00:00 2001 From: Seung-Woo Kim Date: Mon, 26 Jan 2015 16:26:21 +0900 Subject: [PATCH] Add values for dsi connector and encoder This patch exports dsi definition in kernel header. This patch should be skipped during libdrm_2.4.59 rebase. Change-Id: I9c3d1e1a7802334a5bc209ec07c321913a87d227 Signed-off-by: Seung-Woo Kim --- include/drm/drm_mode.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/drm/drm_mode.h b/include/drm/drm_mode.h index 6ea2d96..77a7c8f 100644 --- a/include/drm/drm_mode.h +++ b/include/drm/drm_mode.h @@ -174,6 +174,8 @@ struct drm_mode_get_plane_res { #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; @@ -212,6 +214,7 @@ struct drm_mode_get_encoder { #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 { -- 2.7.4