]> 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)
commitd7b1bcefaa410ec007235f3a430f371ffdef7961
tree06a8d6e598c9f075c33471e0d69af4b3065d37c3
parentaeb6b919099fb487e888d9b752f7b6b5437f6cb1
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