[PATCH 1/4] drm_mode: add TCON encoder/connector

Sergei Shtylyov sergei.shtylyov at cogentembedded.com
Thu Apr 28 21:02:15 UTC 2016


TCON (Timing  Controller) usually means  a chip that drives a LCD panel.
In  our case, such controller  is a part of the Renesas R-Car SoCs. Add
the TCON encoder/connector #define's  to be used by the TCON support code
in the Renesas R-Car Display Unit (DU) driver.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov at cogentembedded.com>

---
 include/uapi/drm/drm_mode.h |    2 ++
 1 file changed, 2 insertions(+)

Index: linux/include/uapi/drm/drm_mode.h
===================================================================
--- linux.orig/include/uapi/drm/drm_mode.h
+++ linux/include/uapi/drm/drm_mode.h
@@ -202,6 +202,7 @@ struct drm_mode_get_plane_res {
 #define DRM_MODE_ENCODER_VIRTUAL 5
 #define DRM_MODE_ENCODER_DSI	6
 #define DRM_MODE_ENCODER_DPMST	7
+#define DRM_MODE_ENCODER_TCON	8
 
 struct drm_mode_get_encoder {
 	__u32 encoder_id;
@@ -241,6 +242,7 @@ struct drm_mode_get_encoder {
 #define DRM_MODE_CONNECTOR_eDP		14
 #define DRM_MODE_CONNECTOR_VIRTUAL      15
 #define DRM_MODE_CONNECTOR_DSI		16
+#define DRM_MODE_CONNECTOR_TCON		17
 
 struct drm_mode_get_connector {
 



More information about the dri-devel mailing list