aboutsummaryrefslogtreecommitdiffstats
path: root/include/video/omapdss.h
diff options
context:
space:
mode:
authorArchit Taneja <archit@ti.com>2012-08-09 05:53:43 -0400
committerArchit Taneja <archit@ti.com>2012-08-13 06:14:39 -0400
commite352574db53a15789339cf09527604f7e23de2e4 (patch)
tree5318edcf76aa2516d8079e1ba95dd78705684e28 /include/video/omapdss.h
parente67458a831e280d346c87d22eed87e3e8697e077 (diff)
OMAPDSS: DSI: Add function to set panel size for command mode panels
DSI command mode panels don't need to configure a full set of timings to configure DSI, they only require the width and the height of the panel in pixels. Use omapdss_dsi_set_size for command mode panels, omapdss_dsi_set_timings is meant for video mode panels. When performing rotation via chaning the address mode of the panel, we would need to swap width and height when doing 90 or 270 rotation. Make sure that omapdss_dsi_set_size() makes the new width and height visible to DSI. Signed-off-by: Archit Taneja <archit@ti.com>
Diffstat (limited to 'include/video/omapdss.h')
-rw-r--r--include/video/omapdss.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/video/omapdss.h b/include/video/omapdss.h
index 47cfc170100..0898c2fad9a 100644
--- a/include/video/omapdss.h
+++ b/include/video/omapdss.h
@@ -721,6 +721,7 @@ void omapdss_dsi_vc_enable_hs(struct omap_dss_device *dssdev, int channel,
721int omapdss_dsi_enable_te(struct omap_dss_device *dssdev, bool enable); 721int omapdss_dsi_enable_te(struct omap_dss_device *dssdev, bool enable);
722void omapdss_dsi_set_timings(struct omap_dss_device *dssdev, 722void omapdss_dsi_set_timings(struct omap_dss_device *dssdev,
723 struct omap_video_timings *timings); 723 struct omap_video_timings *timings);
724void omapdss_dsi_set_size(struct omap_dss_device *dssdev, u16 w, u16 h);
724 725
725int omap_dsi_update(struct omap_dss_device *dssdev, int channel, 726int omap_dsi_update(struct omap_dss_device *dssdev, int channel,
726 void (*callback)(int, void *), void *data); 727 void (*callback)(int, void *), void *data);