mirror_ubuntu-kernels/drivers/gpu/drm/amd
Nicholas Kazlauskas a07f8b9983 drm/amd/display: Send s0i2_rdy in stream_count == 0 optimization
[Why]
Otherwise SMU won't mark Display as idle when trying to perform s2idle.

[How]
Mark the bit in the dcn31 codepath, doesn't apply to older ASIC.

It needed to be split from phy refclk off to prevent entering s2idle
when PSR was engaged but driver was not ready.

Fixes: 118a331516 ("drm/amd/display: Add DCN3.1 clock manager support")

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Eric Yang <Eric.Yang2@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-12-28 16:51:24 -05:00
..
acp
amdgpu drm/amdgpu: no DC support for headless chips 2021-12-28 09:07:30 -05:00
amdkfd drm/amdkfd: process_info lock not needed for svm 2021-12-01 17:09:58 -05:00
display drm/amd/display: Send s0i2_rdy in stream_count == 0 optimization 2021-12-28 16:51:24 -05:00
include drm/amdgpu: add support for IP discovery gc_info table v2 2021-12-17 12:47:29 -05:00
pm drm/amd/pm: skip setting gfx cgpg in the s0ix suspend-resume 2021-12-27 11:57:25 -05:00