summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-ab8500.c
diff options
context:
space:
mode:
authorArchit Taneja <archit@ti.com>2012-05-18 11:06:54 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2012-05-22 10:00:01 +0200
commit2aefad49d8e3a898cf629d4c5264ffd061113531 (patch)
tree0fb4f039679cfcb544d795b21eb3c148fe9c1287 /drivers/gpio/gpio-ab8500.c
parentOMAPDSS: DISPC: Support rotation through TILER (diff)
downloadlinux-2aefad49d8e3a898cf629d4c5264ffd061113531.tar.xz
linux-2aefad49d8e3a898cf629d4c5264ffd061113531.zip
OMAPDSS: VENC/DISPC: Delay dividing Y resolution for managers connected to VENC
DSS2 driver uses the timings in manager's private data to check the validity of overlay and manager infos written by the user. For VENC interface, we divide the Y resolution by half when writing to the DISPC_DIGIT_SIZE register as the content is interlaced. However, the height of the manager/display with respect to the content shown through VENC still remains the same. The VENC driver divides the y_res parameter in omap_video_timings by half, and then applies the configuration. This leads to manager's private data storing the wrong Y resolution. Hence, overlay related checks fail. Ensure that manager's private data stores the original timings, and the Y resolution is halved only when we write to the DISPC register. This is a hack, the proper solution would be to pass some sort of interlace parameter which makes the call whether we should divide y_res or not. Signed-off-by: Archit Taneja <archit@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/gpio/gpio-ab8500.c')
0 files changed, 0 insertions, 0 deletions