aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
diff options
context:
space:
mode:
authorChen-Yu Tsai <[email protected]>2025-08-30 17:08:56 +0000
committerChen-Yu Tsai <[email protected]>2025-09-10 15:45:48 +0000
commit25fbbaf515acd13399589bd5ee6de5f35740cef2 (patch)
tree6608268c8e323eca565ea6cc80027bbe72ecf684 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
parentLinux 6.17-rc1 (diff)
downloadkernel-25fbbaf515acd13399589bd5ee6de5f35740cef2.tar.gz
kernel-25fbbaf515acd13399589bd5ee6de5f35740cef2.zip
clk: sunxi-ng: mp: Fix dual-divider clock rate readback
When dual-divider clock support was introduced, the P divider offset was left out of the .recalc_rate readback function. This causes the clock rate to become bogus or even zero (possibly due to the P divider being 1, leading to a divide-by-zero). Fix this by incorporating the P divider offset into the calculation. Fixes: 45717804b75e ("clk: sunxi-ng: mp: introduce dual-divider clock") Reviewed-by: Andre Przywara <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Chen-Yu Tsai <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c')
0 files changed, 0 insertions, 0 deletions