From: Adam Cheney Subject: [PATCH] Add new DRM_MODE_CONNECTOR and _ENCODER defines Date: Mon, 8 Dec 2014 21:26:24 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0639356915==" Return-path: Received: from hqemgate15.nvidia.com (hqemgate15.nvidia.com [216.228.121.64]) by gabe.freedesktop.org (Postfix) with ESMTP id 726E76EB51 for ; Mon, 8 Dec 2014 13:26:26 -0800 (PST) Content-Language: en-US List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: "'dri-devel@lists.freedesktop.org'" List-Id: dri-devel@lists.freedesktop.org --===============0639356915== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_d0c343cfd1ef485482dc44478ec17cd8HQMAIL107nvidiacom_" --_000_d0c343cfd1ef485482dc44478ec17cd8HQMAIL107nvidiacom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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 = > --- 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 =20struct drm_mode_get_encoder { =20 __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 =20struct drm_mode_get_connector { -- 1.9.1 -------------------------------------------------------------------------= ---------- This email message is for the sole use of the intended recipient(s) and m= ay contain confidential information. Any unauthorized review, use, disclosure or di= stribution is prohibited. If you are not the intended recipient, please contact the= =20sender by reply email and destroy all copies of the original message. -------------------------------------------------------------------------= ---------- --_000_d0c343cfd1ef485482dc44478ec17cd8HQMAIL107nvidiacom_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable =

Update drm_mode.h defines from kernel upstream for= =20connector and

encoder types to expose DSI and other newly define= d types.

 

Signed-off-by: Adam Cheney <acheney@nvidia.com>

---

include/drm/drm_mode.h | 5 ++++= 3;

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<= o:p>

#define DRM_MODE_ENCODER_TVDAC 4

+#define DRM_MODE_ENCODER_VIRTUAL 5=

+#define DRM_MODE_ENCODER_DSI   = ;   6

+#define DRM_MODE_ENCODER_DPMST  &nb= sp;           7

 

 struct drm_mode_get_encoder {

=

        &n= bsp;     __u32 encoder_id;

@@ -210,6 +213,8 @@ struct drm_mode_get_encode= r {

#define DRM_MODE_CONNECTOR_HDMIB   =        12

#define DRM_MODE_CONNECTOR_TV   &nb= sp;           &nbs= p;  13

#define DRM_MODE_CONNECTOR_eDP   &n= bsp;            14=

+#define DRM_MODE_CONNECTOR_VIRTUAL  = ;    15

+#define DRM_MODE_CONNECTOR_DSI  &nb= sp;           &nbs= p; 16

 

 struct drm_mode_get_connector {

 

--

1.9.1

 


This email message is for the sole use of the intended recipient(s) = and may=20 contain confidential information.  Any unauthorized review, use, dis= closure=20 or distribution is prohibited.  If you are not the intended recipien= t,=20 please contact the sender by reply email and destroy all copies of the or= iginal=20 message.

--_000_d0c343cfd1ef485482dc44478ec17cd8HQMAIL107nvidiacom_-- --===============0639356915== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0639356915==--