android_kernel_oneplus_msm8998/drivers/video/omap2
Tomi Valkeinen d66b15818c OMAPDSS: DSI: improve DSI clock calcs for DISPC
Commit ee144e645a added
dsi_pll_calc_ddrfreq() which calculates PLL dividers based on given DSI
bus clock speed. The function works ok, but it can be improved for the
DISPC clock calc.

The current version calculates the clock going from the PLL to the DISPC
simply by setting the clock as close to DISPC maximum as possible, and
the pixel clock is calculated based on that.

This patch changes the function to calculate DISPC clock more
dynamically, iterating through different DISPC clocks and pixel clock
values, and thus we'll get more suitable pixel clocks.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2012-09-24 16:50:07 +03:00
..
displays OMAPDSS: TFP410: use devm_gpio_request_one 2012-09-07 20:02:09 +03:00
dss OMAPDSS: DSI: improve DSI clock calcs for DISPC 2012-09-24 16:50:07 +03:00
omapfb OMAPFB: Clear framebuffers before they are registered 2012-09-11 13:51:28 +03:00
Kconfig OMAP: DSS2: Add generic and Sharp panel drivers 2009-12-09 18:19:42 +02:00
Makefile OMAP2: avoid descending into disabled framebuffer dirs 2011-05-11 14:20:53 +03:00
vram.c OMAPDSS: VRAM: Remove clearing with sDMA 2012-09-07 20:02:09 +03:00
vrfb.c OMAPDSS: VRFB: remove compiler warnings when CONFIG_BUG=n 2012-05-22 10:59:15 +03:00