drm/amd/display: w/a to program DISPCLK_R_GATE_DISABLE DCN35
authorYihan Zhu <Yihan.Zhu@amd.com>
Mon, 7 Oct 2024 18:32:59 +0000 (14:32 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 22 Oct 2024 21:50:38 +0000 (17:50 -0400)
commit9bdcf2a5c6d2f575e1f3290d1136915e2a419862
treeeed47478b2dedd912008235c8f03deb6f5e23f7d
parent9b47278cec98e9894adf39229e91aaf4ab9140c5
drm/amd/display: w/a to program DISPCLK_R_GATE_DISABLE DCN35

[WHY & HOW]
Cursor corruption observed on USBC display with specific system setup with a
reboot. Cursor memory might still in the lightsleep state due to voltage
issue, we need program DISPCLK_R_GATE_DISABLE to avoid this issue only on
DCN35.

Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Yihan Zhu <Yihan.Zhu@amd.com>
Signed-off-by: Wayne Lin <wayne.lin@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/dpp/dcn20/dcn20_dpp.h
drivers/gpu/drm/amd/display/dc/dpp/dcn30/dcn30_dpp.h
drivers/gpu/drm/amd/display/dc/dpp/dcn35/dcn35_dpp.c