aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorAric Cyr <[email protected]>2021-05-25 19:33:51 +0000
committerAlex Deucher <[email protected]>2021-06-08 16:23:28 +0000
commit665f28507a2a3d8d72ed9afa9a2b9b17fd43add1 (patch)
tree612a7877042d9fc5423445a60629b50957ba33d8 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentdrm/amd/display: Fix off-by-one error in DML (diff)
downloadkernel-665f28507a2a3d8d72ed9afa9a2b9b17fd43add1.tar.gz
kernel-665f28507a2a3d8d72ed9afa9a2b9b17fd43add1.zip
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 <[email protected]> Reviewed-by: Krunoslav Kovac <[email protected]> Acked-by: Stylon Wang <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions