mirror-linux/drivers/gpu/drm/amd
Rodrigo Siqueira c50065a392 drm/amd/display: Ensure vmin and vmax adjust for DCE
commit 2820433be2 upstream.

[Why & How]
In the commit 32953485c5 ("drm/amd/display: Do not update DRR while
BW optimizations pending"), a modification was added to avoid adjusting
DRR if optimized bandwidth is set. This change was only intended for
DCN, but one part of the patch changed the code path for DCE devices and
caused regressions to the kms_vrr test. To address this problem, this
commit adds a modification in which dc_stream_adjust_vmin_vmax will be
fully executed in DCE devices.

Fixes: 32953485c5 ("drm/amd/display: Do not update DRR while BW optimizations pending")
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-07-05 18:27:38 +01:00
..
acp
amdgpu drm/amdgpu: Validate VM ioctl flags. 2023-07-05 18:27:38 +01:00
amdkfd drm/amdkfd: Get prange->offset after svm_range_vram_node_new 2023-04-06 12:10:58 +02:00
display drm/amd/display: Ensure vmin and vmax adjust for DCE 2023-07-05 18:27:38 +01:00
include drm/amd/amdgpu: update mes11 api def 2023-05-30 14:03:16 +01:00
pm drm/amd/pm: workaround for compute workload type on some skus 2023-06-21 16:00:56 +02:00