diff options
author | Brandon Syu <Brandon.Syu@amd.com> | 2022-12-22 16:43:37 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-01-17 15:40:44 -0500 |
commit | 9190d4a263264eabf715f5fc1827da45e3fdc247 (patch) | |
tree | a70010df1f87378ae059062ac779e7a65b2a319c /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
parent | e0886e1fa53d0c705ff14df14769ddcc6e0a20ca (diff) | |
download | linux-9190d4a263264eabf715f5fc1827da45e3fdc247.tar.gz linux-9190d4a263264eabf715f5fc1827da45e3fdc247.tar.bz2 linux-9190d4a263264eabf715f5fc1827da45e3fdc247.zip |
drm/amd/display: fix mapping to non-allocated address
[Why]
There is an issue mapping non-allocated location of memory.
It would allocate gpio registers from an array out of bounds.
[How]
Patch correct numbers of bounds for using.
Tested-by: Daniel Wheeler <Daniel.Wheeler@amd.com>
Reviewed-by: Martin Leung <Martin.Leung@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Brandon Syu <Brandon.Syu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions