diff options
author | Aurabindo Pillai <aurabindo.pillai@amd.com> | 2022-11-25 19:13:41 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-12-06 10:17:13 -0500 |
commit | 6ee31b3a4f596aba5123fca2776df316c20f7b06 (patch) | |
tree | 7a029311e0c1a885625b2284cdd5f5c8e4e7308c /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | 2c4ce7e488e679b95f392f4c87532d99d367fbd7 (diff) |
drm/amd/display: fix array index out of bound error in DCN32 DML
[Why&How]
LinkCapacitySupport array is indexed with the number of voltage states and
not the number of max DPPs. Fix the error by changing the array
declaration to use the correct (larger) array size of total number of
voltage states.
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions