diff options
| author | Taniya Das <[email protected]> | 2022-02-27 17:55:35 +0000 |
|---|---|---|
| committer | Bjorn Andersson <[email protected]> | 2022-03-09 14:53:29 +0000 |
| commit | 58922910add18583d5273c2edcdb9fd7bf4eca02 (patch) | |
| tree | e274969792a42570ec86aed4a979394da75e9a46 /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | clk: qcom: smd: Add missing MSM8998 RPM clocks (diff) | |
| download | kernel-58922910add18583d5273c2edcdb9fd7bf4eca02.tar.gz kernel-58922910add18583d5273c2edcdb9fd7bf4eca02.zip | |
clk: qcom: clk-rcg2: Update logic to calculate D value for RCG
The display pixel clock has a requirement on certain newer platforms to
support M/N as (2/3) and the final D value calculated results in
underflow errors.
As the current implementation does not check for D value is within
the accepted range for a given M & N value. Update the logic to
calculate the final D value based on the range.
Fixes: 99cbd064b059f ("clk: qcom: Support display RCG clocks")
Signed-off-by: Taniya Das <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
