lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4060059527C3A74384B5C4ED9D30CB99884CF09D@rrsmsx506.amr.corp.intel.com>
Date:	Thu, 28 May 2009 12:16:23 -0600
From:	"Eaton, Thomas G" <thomas.g.eaton@...el.com>
To:	"dri-devel@...ts.sourceforge.net" <dri-devel@...ts.sourceforge.net>,
	"airlied@...ux.ie" <airlied@...ux.ie>
CC:	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: [PATCH] drm: add connector and encoder types for MIPI displays

Added connector and encoder types for MIPI displays.

Signed-off-by: Thomas G Eaton <thomas.g.eaton@...el.com>

---
diff -uprN -X drm-2.6.orig/Documentation/dontdiff drm-2.6.orig/drivers/gpu/drm/drm_crtc.c drm-2.6/drivers/gpu/drm/drm_crtc.c
--- drm-2.6.orig/drivers/gpu/drm/drm_crtc.c     2009-05-28 10:17:02.000000000 -0700
+++ drm-2.6/drivers/gpu/drm/drm_crtc.c  2009-05-28 10:24:49.000000000 -0700
@@ -146,6 +146,7 @@ static struct drm_conn_prop_enum_list dr
        { DRM_MODE_CONNECTOR_DisplayPort, "DisplayPort", 0 },
        { DRM_MODE_CONNECTOR_HDMIA, "HDMI Type A", 0 },
        { DRM_MODE_CONNECTOR_HDMIB, "HDMI Type B", 0 },
+       { DRM_MODE_CONNECTOR_MIPI, "MIPI", 0 },
 };

 static struct drm_prop_enum_list drm_encoder_enum_list[] =
@@ -154,6 +155,7 @@ static struct drm_prop_enum_list drm_enc
        { DRM_MODE_ENCODER_TMDS, "TMDS" },
        { DRM_MODE_ENCODER_LVDS, "LVDS" },
        { DRM_MODE_ENCODER_TVDAC, "TV" },
+       { DRM_MODE_ENCODER_MIPI, "MIPI" },
 };

 char *drm_get_encoder_name(struct drm_encoder *encoder)
diff -uprN -X drm-2.6.orig/Documentation/dontdiff drm-2.6.orig/include/drm/drm_mode.h drm-2.6/include/drm/drm_mode.h
--- drm-2.6.orig/include/drm/drm_mode.h 2009-05-28 10:17:12.000000000 -0700
+++ drm-2.6/include/drm/drm_mode.h      2009-05-28 10:23:13.000000000 -0700
@@ -121,6 +121,7 @@ struct drm_mode_crtc {
 #define DRM_MODE_ENCODER_TMDS  2
 #define DRM_MODE_ENCODER_LVDS  3
 #define DRM_MODE_ENCODER_TVDAC 4
+#define DRM_MODE_ENCODER_MIPI  5

 struct drm_mode_get_encoder {
        __u32 encoder_id;
@@ -155,6 +156,7 @@ struct drm_mode_get_encoder {
 #define DRM_MODE_CONNECTOR_DisplayPort 10
 #define DRM_MODE_CONNECTOR_HDMIA       11
 #define DRM_MODE_CONNECTOR_HDMIB       12
+#define DRM_MODE_CONNECTOR_MIPI                13

 struct drm_mode_get_connector {

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ