aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
diff options
context:
space:
mode:
authorKevin Gao <[email protected]>2025-03-26 18:14:05 +0000
committerAlex Deucher <[email protected]>2025-04-07 22:01:07 +0000
commitd01a7306e1bec9c02268793f58144e3e42695bf0 (patch)
treee91b49b894ae973186840437b67c87f2038a03da /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
parentdrm/amd/display: Optimize custom brightness curve (diff)
downloadkernel-d01a7306e1bec9c02268793f58144e3e42695bf0.tar.gz
kernel-d01a7306e1bec9c02268793f58144e3e42695bf0.zip
drm/amd/display: Correct SSC enable detection for DCN351
[Why] Due to very small clock register delta between DCN35 and DCN351, clock spread is being checked on the wrong register for DCN351, causing the display driver to believe that DPREFCLK downspread to be disabled when in some stacks it is enabled. This causes the clock values for audio to be incorrect. [How] Both DCN351 and DCN35 use the same clk_mgr, so we modify the DCN35 function that checks for SSC enable to read CLK6 instead of CLK5 when using DCN351. This allows us to read for DPREFCLK downspread correctly so the clock can properly compensate when setting values. Reviewed-by: Charlene Liu <[email protected]> Signed-off-by: Kevin Gao <[email protected]> Signed-off-by: Roman Li <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c')
0 files changed, 0 insertions, 0 deletions