linux/drivers/gpu/drm/amd/display
Nicholas Kazlauskas b80ddeb29d drm/amd/display: Use PSR version selected during set_psr_caps
[Why]
If the DPCD caps specifies a PSR version newer than PSR_VERSION_1 then
we fallback to using PSR_VERSION_1 in amdgpu_dm_set_psr_caps.

This gets overriden with the raw DPCD value in amdgpu_dm_link_setup_psr,
which can result in DMCUB hanging if we pass in an unsupported PSR
version number.

[How]
Fix the hang by using link->psr_settings.psr_version directly during
amdgpu_dm_link_setup_psr.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo@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>
2022-01-25 18:00:35 -05:00
..
amdgpu_dm drm/amd/display: Use PSR version selected during set_psr_caps 2022-01-25 18:00:35 -05:00
dc drm/amd/display: Change return type of dm_helpers_dp_mst_stop_top_mgr 2022-01-25 18:00:35 -05:00
dmub drm/amd/display: [FW Promotion] Release 0.0.100.0 2022-01-18 17:43:36 -05:00
include drm/amd/display: Drop DCN for DP2.x logic 2022-01-25 18:00:34 -05:00
modules drm/amd/display: unhard code link to phy idx mapping in dc link and clean up 2022-01-07 17:21:20 -05:00
Kconfig drm/amdgpu/display: fix dependencies for DRM_AMD_DC_SI 2021-10-05 10:55:41 -04:00
Makefile
TODO