]> Pileus Git - ~andy/linux/commit
OMAPDSS: DSI: Update manager timings on a manual update
authorArchit Taneja <archit@ti.com>
Thu, 9 Aug 2012 10:11:13 +0000 (15:41 +0530)
committerArchit Taneja <archit@ti.com>
Mon, 13 Aug 2012 10:14:40 +0000 (15:44 +0530)
commit55cd63acf6855cd45a183fdfca6d22450b8d1d47
tree0fccfc9a124933a871171bfcda4d3c1c4d943983
parente352574db53a15789339cf09527604f7e23de2e4
OMAPDSS: DSI: Update manager timings on a manual update

During a command mode update using DISPC video port, we may need to swap the
connected overlay manager's width and height when 90 or 270 degree rotation is
done via the panel by changing it's address mode.

Call dss_mgr_set_timings() in update_screen_dispc() before starting the manager
update. The new manager size is updated in the 'timings' field of DSI driver's
private data via omapdss_dsi_set_size(). A panel driver is expected to call this
when performing rotation.

Signed-off-by: Archit Taneja <archit@ti.com>
drivers/video/omap2/dss/dsi.c