]> git.baikalelectronics.ru Git - kernel.git/commit
OMAPDSS: DISPC: Get correct pixel clock for TV manager
authorArchit Taneja <archit@ti.com>
Tue, 13 Sep 2011 12:58:41 +0000 (18:28 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 30 Sep 2011 13:17:25 +0000 (16:17 +0300)
commit8aa3a7fb7963833403e3530fad96e3cbf44d9484
treed04f7a341aed9d9aae42d33479526f9d26c7e74b
parentde6f63f6337709b3cb1d07668a2d5bf4aa529620
OMAPDSS: DISPC: Get correct pixel clock for TV manager

dispc_mgr_pclk_rate() is used to calculate minimum required functional clock for
scaling in calc_fclk() and calc_fclk_five_taps(). This function returns the
correct pixel clock for LCD and LCD2 managers, but not for TV manager. Extend
this function so that it gets the correct pixel clock for TV manager.

This also prevents the crash we get when we try to scale overlays connected to
TV manager. The current code leads to a BUG() being executed if we call
dispc_mgr_pclk_rate() for the TV manager.

Signed-off-by: Archit Taneja <archit@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/dispc.c
drivers/video/omap2/dss/dss.h
drivers/video/omap2/dss/hdmi.c
drivers/video/omap2/dss/venc.c