]> git.openfabrics.org - ~emulex/infiniband.git/commit
OMAPDSS: DSI: Add function to set panel size for command mode panels
authorArchit Taneja <archit@ti.com>
Thu, 9 Aug 2012 09:53:43 +0000 (15:23 +0530)
committerArchit Taneja <archit@ti.com>
Mon, 13 Aug 2012 10:14:39 +0000 (15:44 +0530)
commite352574db53a15789339cf09527604f7e23de2e4
tree5318edcf76aa2516d8079e1ba95dd78705684e28
parente67458a831e280d346c87d22eed87e3e8697e077
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>
drivers/video/omap2/displays/panel-taal.c
drivers/video/omap2/dss/dsi.c
include/video/omapdss.h