drm/amd/display: Keep PHY active for DP displays on DCN31
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Thu, 29 Jun 2023 14:35:59 +0000 (10:35 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 18 Jul 2023 15:16:09 +0000 (11:16 -0400)
commit9c553d00c56a6785acb9c6b7318bae630312a787
tree1ce9ce90c1a4f00ac859c870e432cc906366d4ad
parent250a636a3f46be65c9d10d403cf7f12de017d353
drm/amd/display: Keep PHY active for DP displays on DCN31

[Why & How]
Port of a change that went into DCN314 to keep the PHY enabled
when we have a connected and active DP display.

The PHY can hang if PHY refclk is disabled inadvertently.

Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Reviewed-by: Josip Pavic <josip.pavic@amd.com>
Acked-by: Alan Liu <haoping.liu@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@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/clk_mgr/dcn31/dcn31_clk_mgr.c