]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Fix dummy p-state hang on monitors with extreme timing
authorFelipe Clark <felclark@amd.com>
Mon, 18 Oct 2021 20:50:10 +0000 (16:50 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 3 Nov 2021 16:32:34 +0000 (12:32 -0400)
commitba301114f8e2fd1f0453a9b42ff0e4a9c97fa31a
tree06a8d6e598c9f075c33471e0d69af4b3065d37c3
parent384cf5e5ab92b9591aa5a62b3e7ea7038ede7e63
drm/amd/display: Fix dummy p-state hang on monitors with extreme timing

[WHY]
It was found that the system would hang on a dummy pstate when playing
4k60 videos on a 1080p 390Hz monitor.

[HOW]
Properly select the dummy_pstate_latency_ms when firmware assisted
memory clock switching is enabled instead of assuming that the highest
latency would work for every monitor timing.

Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Felipe Clark <felclark@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@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/dcn30/dcn30_resource.c