summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/sun4i/sun4i_rgb.c
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2016-04-02 12:30:11 +0200
committerMaxime Ripard <maxime.ripard@free-electrons.com>2016-05-30 08:28:33 +0200
commit4731a72df273bdbd225445424057c15dbb8d3495 (patch)
tree4c83197a5bfba781e0246a27efc505888127c79a /drivers/gpu/drm/sun4i/sun4i_rgb.c
parent9fa2568d9fe0c6dbf3253af6840de9389f4e89cb (diff)
downloadop-kernel-dev-4731a72df273bdbd225445424057c15dbb8d3495.zip
op-kernel-dev-4731a72df273bdbd225445424057c15dbb8d3495.tar.gz
drm/sun4i: request exact rates to our parents
Our pixel clock currently only tries to deal with the current parent rate. While that works when the resolution is the same than the one already program, or when we can compute directly the rate from the current parent rate, it cannot work in most situation when we want to change the frequency, and we end up with an improper pixel clock rate, which obviously doesn't work as expected. Ask our parent for all the possible dividers if it can reach that frequency, and return the best parent rate to the clock framework so that we can use it. Fixes: 9026e0d122ac ("drm: Add Allwinner A10 Display Engine support") Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'drivers/gpu/drm/sun4i/sun4i_rgb.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud