diff options
author | Archit Taneja <archit@ti.com> | 2012-08-09 15:23:43 +0530 |
---|---|---|
committer | Archit Taneja <archit@ti.com> | 2012-08-13 15:44:39 +0530 |
commit | e352574db53a15789339cf09527604f7e23de2e4 (patch) | |
tree | 5318edcf76aa2516d8079e1ba95dd78705684e28 /include/video | |
parent | e67458a831e280d346c87d22eed87e3e8697e077 (diff) | |
download | linux-3.10-e352574db53a15789339cf09527604f7e23de2e4.tar.gz linux-3.10-e352574db53a15789339cf09527604f7e23de2e4.tar.bz2 linux-3.10-e352574db53a15789339cf09527604f7e23de2e4.zip |
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')
-rw-r--r-- | include/video/omapdss.h | 1 |
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, int omapdss_dsi_enable_te(struct omap_dss_device *dssdev, bool enable); void omapdss_dsi_set_timings(struct omap_dss_device *dssdev, struct omap_video_timings *timings); +void omapdss_dsi_set_size(struct omap_dss_device *dssdev, u16 w, u16 h); int omap_dsi_update(struct omap_dss_device *dssdev, int channel, void (*callback)(int, void *), void *data); |