aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
diff options
context:
space:
mode:
authorJoshua Aberback <[email protected]>2025-03-14 22:33:43 +0000
committerAlex Deucher <[email protected]>2025-04-07 19:18:36 +0000
commit7b9f8698796f44ac2b551d485a8e5e9aaa761812 (patch)
tree923f5f881508aac4c1e19b2f8344209b28028946 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
parentdrm/amd/display: Set ODM Factor Based On DML Architecture (diff)
downloadkernel-7b9f8698796f44ac2b551d485a8e5e9aaa761812.tar.gz
kernel-7b9f8698796f44ac2b551d485a8e5e9aaa761812.zip
drm/amd/display: Use meaningful size for block_sequence array
[Why] This array was initially defined as size 50. There were array overflow issues so the size was increased to 100. To ensure such issues are avoided in the future, the size should be set based on the possible contents instead of an arbitrary value. [How] - upper bound, assume every update occurs on max number of pipes - define array sizes for function parameters, for static analysis Reviewed-by: Dillon Varone <[email protected]> Signed-off-by: Joshua Aberback <[email protected]> Signed-off-by: Fangzhi Zuo <[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.h')
0 files changed, 0 insertions, 0 deletions