diff options
author | 2021-03-22 22:33:36 +0100 | |
---|---|---|
committer | 2021-03-24 12:05:28 +0200 | |
commit | fd1d9e2d4382674f421bab003f9a64cc27b003f4 (patch) | |
tree | f8ca74871d974a07c9c78082a92dd1ff7bf80fb3 /drivers/gpu/drm/drm_dp_mst_topology.c | |
parent | drm/tilcdc: rename req_rate to pclk_rate (diff) | |
download | linux-dev-fd1d9e2d4382674f421bab003f9a64cc27b003f4.tar.xz linux-dev-fd1d9e2d4382674f421bab003f9a64cc27b003f4.zip |
drm/tilcdc: fix LCD pixel clock setting
The tilcdc_pclk_diff() compares the requested pixel clock rate to the
real one, so passing it clk_rate instead of clk_rate / clkdiv caused
it to fail even if the clk_rate was properly set. Adding the
real_pclk_rate variable makes the code more readable.
Signed-off-by: Dario Binacchi <dariobin@libero.it>
Reviewed-by: Jyri Sarha <jyri.sarha@iki.fi>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Signed-off-by: Jyri Sarha <jyri.sarha@iki.fi>
Link: https://patchwork.freedesktop.org/patch/msgid/20210322213337.26667-3-dariobin@libero.it
Diffstat (limited to 'drivers/gpu/drm/drm_dp_mst_topology.c')
0 files changed, 0 insertions, 0 deletions