[Dri-patches] [PATCH] Add new DRM_MODE_CONNECTOR and _ENCODER defines

Adam Cheney acheney at nvidia.com
Thu Nov 13 08:47:16 PST 2014


Ping?

From: Adam Cheney
Sent: Wednesday, October 29, 2014 12:11 PM
To: 'dri-patches at lists.freedesktop.org'
Subject: [PATCH] Add new DRM_MODE_CONNECTOR and _ENCODER defines

Update drm_mode.h defines from kernel upstream for connector and
encoder types to expose DSI and other newly defined types.

Signed-off-by: Adam Cheney <acheney at nvidia.com<mailto:acheney at nvidia.com>>
---
include/drm/drm_mode.h | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/include/drm/drm_mode.h b/include/drm/drm_mode.h
index 76fd76b..263cf07 100644
--- a/include/drm/drm_mode.h
+++ b/include/drm/drm_mode.h
@@ -173,6 +173,9 @@ struct drm_mode_get_plane_res {
#define DRM_MODE_ENCODER_TMDS   2
#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;
@@ -210,6 +213,8 @@ struct drm_mode_get_encoder {
#define DRM_MODE_CONNECTOR_HDMIB          12
#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 {

--
1.9.1

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-patches/attachments/20141113/f162b735/attachment.html>


More information about the dri-patches mailing list