drm/amd/display: Use DTBCLK as refclk instead of DPREFCLK
authorAustin Zheng <austin.zheng@amd.com>
Wed, 26 Jul 2023 14:40:48 +0000 (10:40 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Aug 2023 21:14:08 +0000 (17:14 -0400)
commit4a30cc2bd281fa176a68b5305cd3695d636152ad
tree50d8f955ae892260d88602303819ec0b031608c5
parent6cffc78e5ad5e8f2ad81ed11d42a522993fd52b9
drm/amd/display: Use DTBCLK as refclk instead of DPREFCLK

[Why]
Flash of corruption observed when UCLK switching after transitioning
from DTBCLK to DPREFCLK on subVP(DP) + subVP(HDMI) config
Scenario where DPREFCLK is required instead of DTBCLK is not expected

[How]
Always set the DTBCLK source as DTBCLK0

Reviewed-by: Alvin Lee <alvin.lee2@amd.com>
Acked-by: Tom Chung <chiahsuan.chung@amd.com>
Signed-off-by: Austin Zheng <austin.zheng@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_dccg.c