[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1501044769-14603-1-git-send-email-saurabhs@xilinx.com>
Date: Wed, 26 Jul 2017 10:22:49 +0530
From: Saurabh Sengar <saurabh.singh@...inx.com>
To: <linux-kernel@...r.kernel.org>, <dri-devel@...ts.freedesktop.org>,
<airlied@...ux.ie>
CC: <saurabhs@...inx.com>, <dineshk@...inx.com>
Subject: [PATCH] drm: adding SDI to drm_connector_enum_list
adding SDI to drm connector list
Signed-off-by: Saurabh Sengar <saurabhs@...inx.com>
---
drivers/gpu/drm/drm_connector.c | 1 +
include/uapi/drm/drm_mode.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/drm_connector.c b/drivers/gpu/drm/drm_connector.c
index 2db7fb5..ea48ddb 100644
--- a/drivers/gpu/drm/drm_connector.c
+++ b/drivers/gpu/drm/drm_connector.c
@@ -86,6 +86,7 @@ static struct drm_conn_prop_enum_list drm_connector_enum_list[] = {
{ DRM_MODE_CONNECTOR_VIRTUAL, "Virtual" },
{ DRM_MODE_CONNECTOR_DSI, "DSI" },
{ DRM_MODE_CONNECTOR_DPI, "DPI" },
+ { DRM_MODE_CONNECTOR_SDI, "SDI" },
};
void drm_connector_ida_init(void)
diff --git a/include/uapi/drm/drm_mode.h b/include/uapi/drm/drm_mode.h
index df0e350..9b8d204 100644
--- a/include/uapi/drm/drm_mode.h
+++ b/include/uapi/drm/drm_mode.h
@@ -247,6 +247,7 @@ struct drm_mode_get_encoder {
#define DRM_MODE_CONNECTOR_VIRTUAL 15
#define DRM_MODE_CONNECTOR_DSI 16
#define DRM_MODE_CONNECTOR_DPI 17
+#define DRM_MODE_CONNECTOR_SDI 18
struct drm_mode_get_connector {
--
2.7.4
Powered by blists - more mailing lists