summaryrefslogtreecommitdiff
path: root/drivers/video/atafb.c
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2012-09-24 15:15:06 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2012-09-24 16:50:07 +0300
commitd66b15818c16af35ddb5da7b53905d9f6f62a45b (patch)
treeb153fd653e8704d2cfad2e1cbd923692932a7dde /drivers/video/atafb.c
parentfda7c362f9ef59de6d6db67a854e1a114af0c69a (diff)
OMAPDSS: DSI: improve DSI clock calcs for DISPC
Commit ee144e645a081daad5de1ccac77f0a0e98e6a67b 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>
Diffstat (limited to 'drivers/video/atafb.c')
0 files changed, 0 insertions, 0 deletions