linux/drivers/gpu/drm/amd
Aric Cyr 665f28507a drm/amd/display: Fix crash during MPO + ODM combine mode recalculation
[Why]
When calculating recout width for an MPO plane on a mode that's using
ODM combine, driver can calculate a negative value, resulting in a
crash.

[How]
For negative widths, use zero such that validation will prune the
configuration correctly and disallow MPO.

Signed-off-by: Aric Cyr <aric.cyr@amd.com>
Reviewed-by: Krunoslav Kovac <Krunoslav.Kovac@amd.com>
Acked-by: Stylon Wang <stylon.wang@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-06-08 12:23:28 -04:00
..
acp
amdgpu drm/amdgpu: allocate psp fw private buffer from VRAM for sriov vf 2021-06-08 12:15:13 -04:00
amdkfd drm/amdkfd: remove duplicate include of kfd_svm.h 2021-06-07 14:57:52 -04:00
display drm/amd/display: Fix crash during MPO + ODM combine mode recalculation 2021-06-08 12:23:28 -04:00
include amdgpu/pm: add kernel documentation for smu_get_power_limit 2021-06-08 12:14:11 -04:00
pm drm/amd/pm: fix warning reported by kernel test robot 2021-06-08 12:14:29 -04:00