diff options
author | Darren Etheridge <detheridge@ti.com> | 2014-01-15 21:52:36 (GMT) |
---|---|---|
committer | Jyri Sarha <jsarha@ti.com> | 2016-02-25 14:39:28 (GMT) |
commit | 3d19306a8240a163f6b02bb46213c277d6d44e08 (patch) | |
tree | 33f1f360603ed2f8b13b19c4d7045d59d873cc2e /block/blk-mq-cpumap.c | |
parent | 0041ee4d3642f9ad80a479fbe51a4bc7f3cd8294 (diff) | |
download | linux-3d19306a8240a163f6b02bb46213c277d6d44e08.tar.xz |
drm/tilcdc: rewrite pixel clock calculation
Updating the tilcdc DRM driver code to calculate the LCD controller
pixel clock more accurately. Based on a suggested implementation by
Tomi Valkeinen.
The current code does not work correctly and produces wrong results
with many requested clock rates. It also oddly uses two different
clocks, a display pll clock and a divider clock (child of display
pll), instead of just using the clock coming to the lcdc.
This patch removes the use of the display pll clock, and rewrites the
code to calculate the clock rates. The idea is simply to request a
clock rate of pixelclock*2, as the LCD controller has an internal
divider which we set to 2.
Signed-off-by: Darren Etheridge <detheridge@ti.com>
[Rewrapped description]
Signed-off-by: Jyri Sarha <jsarha@ti.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'block/blk-mq-cpumap.c')
0 files changed, 0 insertions, 0 deletions