aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorHersen Wu <[email protected]>2024-04-25 13:24:44 +0000
committerAlex Deucher <[email protected]>2024-05-02 20:18:18 +0000
commit188fd1616ec43033cedbe343b6579e9921e2d898 (patch)
tree5b4f3b471aa8c580eef17fdf40cdc9c9362f501e /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentdrm/amd/display: Fix writeback job lock evasion within dm_crtc_high_irq (diff)
downloadkernel-188fd1616ec43033cedbe343b6579e9921e2d898.tar.gz
kernel-188fd1616ec43033cedbe343b6579e9921e2d898.zip
drm/amd/display: Fix index may exceed array range within fpu_update_bw_bounding_box
[Why] Coverity reports OVERRUN warning. soc.num_states could be 40. But array range of bw_params->clk_table.entries is 8. [How] Assert if soc.num_states greater than 8. Reviewed-by: Alex Hung <[email protected]> Acked-by: Tom Chung <[email protected]> Signed-off-by: Hersen Wu <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions