diff options
| author | Archit Taneja <[email protected]> | 2016-02-28 15:37:17 +0530 |
|---|---|---|
| committer | Stephen Boyd <[email protected]> | 2016-02-29 12:57:06 -0800 |
| commit | 811a498e5e9ab802cbd23a8ef9c844ec92450fa4 (patch) | |
| tree | b869f7a6bfd55c6f85e18347af59e9feb2fe000b /tools/perf/scripts/python/bin | |
| parent | d3622b5885dc424cfb5e27ff7a3c79d942b2acb4 (diff) | |
clk: qcom: Fix pre-divider usage for pixel RCG
The clk_rcg_pixel_set_rate clk_op sets up the pre-divider by reading
its current value from the NS register.
Using the pre-divider wasn't really intended when creating these ops.
The pixel RCG was only intended to achieve fractional multiplication
provided in the pixel_table array. Leaving the pre-divider to the
existing register value results in a wrong pixel clock when the
bootloader sets up the display. This was left unidentified because
the IFC6410 Plus board on which this was verified didn't have a
bootloader that configured the display.
Don't set the RCG pre-divider in freq_tbl to the existing NS register
value. Force it to 1 and only use the M/N counter to achieve the desired
fractional multiplication.
Cc: Vinay Simha <[email protected]>
Signed-off-by: Archit Taneja <[email protected]>
Tested-by: John Stultz <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions