diff options
author | 2023-06-22 08:11:48 -0400 | |
---|---|---|
committer | 2023-07-18 11:15:57 -0400 | |
commit | 250a636a3f46be65c9d10d403cf7f12de017d353 (patch) | |
tree | 7c01e999470e7d319cf53536912a278f9c2b2efe /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | |
parent | drm/amd/display: Add link encoding to timing BW calculation parameters (diff) | |
download | wireguard-linux-250a636a3f46be65c9d10d403cf7f12de017d353.tar.xz wireguard-linux-250a636a3f46be65c9d10d403cf7f12de017d353.zip |
drm/amd/display: Prevent vtotal from being set to 0
[Why]
In dcn314 DML the destination pipe vtotal was being set
to the crtc adjustment vtotal_min value even in cases
where that value is 0.
[How]
Only set vtotal to the crtc adjustment vtotal_min value
in cases where the value is non-zero.
Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Acked-by: Alan Liu <haoping.liu@amd.com>
Signed-off-by: Daniel Miess <daniel.miess@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h')
0 files changed, 0 insertions, 0 deletions