diff options
author | Dillon Varone <Dillon.Varone@amd.com> | 2022-11-17 13:57:31 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-11-29 11:03:38 -0500 |
commit | 359bcc904e233c8285d40a92121c8a5056d36e6f (patch) | |
tree | 2d238297af1a762c059ef96daeea4e83f84d3047 /drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | |
parent | aaae52110a381033d960c087bd276e2a857eb7cb (diff) |
drm/amd/display: Fix arithmetic error in MALL size calculations for subvp
[Description]
Need to subtract unused section of the viewport when calculating required space
in MALL for subvp instead of adding, to prevent over allocation.
Reviewed-by: Alvin Lee <Alvin.Lee2@amd.com>
Acked-by: Jasdeep Dhillon <jdhillon@amd.com>
Signed-off-by: Dillon Varone <Dillon.Varone@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c')
0 files changed, 0 insertions, 0 deletions