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-11-18 11:59:56 +0900
commitba5f094389969a39faa485fbc7fd5d29330e9a79 (patch)
tree10bfa1951384b89f46499e2b4e2e9a991a79f6d9 /include
parent4f307339fc1c050031bae0e57469892c6443bd2d (diff)
downloadlinux-3.10-ba5f094389969a39faa485fbc7fd5d29330e9a79.tar.gz
linux-3.10-ba5f094389969a39faa485fbc7fd5d29330e9a79.tar.bz2
linux-3.10-ba5f094389969a39faa485fbc7fd5d29330e9a79.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);
};
/**