drm/amd/display: To apply the adjusted DP ref clock for DP devices
authorYiling Chen <yi-ling.chen2@amd.com>
Tue, 4 Mar 2025 08:52:16 +0000 (16:52 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 21 Apr 2025 15:26:59 +0000 (11:26 -0400)
commitf53d0f48a89ccf13a1598985ab1782ec105cb049
treea551b3caf78b6aa047bf9fb29befbdcf83f6b687
parenteec64449233b58f44154ecb9417e53fceb1e93a1
drm/amd/display: To apply the adjusted DP ref clock for DP devices

[Why]
For some pixel clock margin sensitive external monitor,
we could not keep original DP ref clock for the ASICs
supported SSC DP ref clock.

[How]
From slicon design team's comment,
we have to apply the adjusted DP ref clock for
DP devices.
DP 128b (DP2) signals uses the DTBCLK not DP ref.

Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Yiling Chen <yi-ling.chen2@amd.com>
Signed-off-by: Zaeem Mohamed <zaeem.mohamed@amd.com>
Tested-by: Mark Broadworth <mark.broadworth@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c