summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYoungJun Cho <yj44.cho@samsung.com>2014-06-18 18:15:41 +0900
committerChanho Park <chanho61.park@samsung.com>2014-08-08 15:25:23 +0900
commit9eb399221f5d7f04f091f1146dd399ea1ead3ba4 (patch)
tree28cddc125d50e229de562f3a9b324bc864897acf /include
parent00d96f3127017a40223dd0ba832d8154dbe95cfb (diff)
downloadlinux-3.10-9eb399221f5d7f04f091f1146dd399ea1ead3ba4.tar.gz
linux-3.10-9eb399221f5d7f04f091f1146dd399ea1ead3ba4.tar.bz2
linux-3.10-9eb399221f5d7f04f091f1146dd399ea1ead3ba4.zip
drm/exynos: add TE handler to support LCD I80 interface
To support LCD I80 interface, the panel should generates Tearing Effect synchronization signal between MCU and FB to display video images. And the display controller should trigger to transfer video image at this signal. So the panel receives the TE IRQ, then calls this handler chains to notify it to the display controller. Change-Id: Ie60112b9b135bb8a1b05a01fedcd62bd65fc59cd Signed-off-by: YoungJun Cho <yj44.cho@samsung.com> Acked-by: Inki Dae <inki.dae@samsung.com> Acked-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'include')
-rw-r--r--include/drm/drm_mipi_dsi.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/drm/drm_mipi_dsi.h b/include/drm/drm_mipi_dsi.h
index 7209df15a3c..f6d4c851c5b 100644
--- a/include/drm/drm_mipi_dsi.h
+++ b/include/drm/drm_mipi_dsi.h
@@ -49,6 +49,13 @@ struct mipi_dsi_msg {
* @detach: detach DSI device from DSI host
* @transfer: send and/or receive DSI packet, return number of received bytes,
* or error
+ * @te_handler: call the crtc te_handler() callback from DSI host.
+ * The panel generates tearing effect synchronization signal
+ * between MCU and FB to display video images.
+ * And the display controller should trigger to transfer video
+ * image at this signal.
+ * So the panel receives the TE IRQ, then calls this handler
+ * to notify it to the display controller.
*/
struct mipi_dsi_host_ops {
int (*attach)(struct mipi_dsi_host *host,
@@ -57,6 +64,7 @@ struct mipi_dsi_host_ops {
struct mipi_dsi_device *dsi);
ssize_t (*transfer)(struct mipi_dsi_host *host,
struct mipi_dsi_msg *msg);
+ int (*te_handler)(struct mipi_dsi_host *host);
};
/**