mirror_ubuntu-kernels/drivers/gpu/drm/amd
Qingqing Zhuo ce271b40a9 drm/amd/display: Screen corruption on dual displays (DP+USB-C)
[why]
Current pipe merge and split logic only supports cases where new
dc_state is allocated and relies on dc->current_state to gather
information from previous dc_state.

Calls to validate_bandwidth on UPDATE_TYPE_MED would cause an issue
because there is no new dc_state allocated, and data in
dc->current_state would be overwritten during pipe merge.

[how]
Only allow validate_bandwidth when new dc_state space is created.

Signed-off-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-08-17 14:08:21 -04:00
..
acp drm: amd/acp: fix broken menu structure 2020-03-13 11:52:35 -04:00
amdgpu drm/amdgpu: add condition check for trace_amdgpu_cs() 2020-08-17 14:06:37 -04:00
amdkfd drm/amdgpu: revert "fix system hang issue during GPU reset" 2020-08-14 16:22:40 -04:00
display drm/amd/display: Screen corruption on dual displays (DP+USB-C) 2020-08-17 14:08:21 -04:00
include drm/amd/powerplay: add new sysfs interface for retrieving gpu metrics(V2) 2020-08-06 15:43:56 -04:00
pm drm/amdgpu: drop log message in amdgpu_dpm_baco_reset() 2020-08-14 17:03:20 -04:00