]> www.infradead.org Git - linux.git/commit
drm/amd/display: temp w/a for DP Link Layer compliance
authorAurabindo Pillai <aurabindo.pillai@amd.com>
Mon, 7 Oct 2024 18:19:32 +0000 (14:19 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 22 Oct 2024 22:11:20 +0000 (18:11 -0400)
commit63feb35cd26557572ad95fc062ede344bb61d9ad
treeeb1c26b1eceb3b9ffaa7ea7f4078f686d4853233
parent23d16ede33a4db4973468bf6652a09da5efd1468
drm/amd/display: temp w/a for DP Link Layer compliance

[Why&How]
Disabling P-State support on full updates for DCN401 results in
introducing additional communication with SMU. A UCLK hard min message
to SMU takes 4 seconds to go through, which was due to DCN not allowing
pstate switch, which was caused by incorrect value for TTU watermark
before blanking the HUBP prior to DPG on for servicing the test request.

Fix the issue temporarily by disallowing pstate changes for compliance
test while test request handler is reworked for a proper fix.

Fixes: 67ea53a4bd9d ("drm/amd/display: Disable DCN401 UCLK P-State support on full updates")
Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Dillon Varone <dillon.varone@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@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>
(cherry picked from commit 8a79f7cdbb41bb0ddfd4d7662b4428d4a9d5306d)
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c