linux/drivers/gpu/drm/amd/display
Hersen Wu 188fd1616e 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 <alex.hung@amd.com>
Acked-by: Tom Chung <chiahsuan.chung@amd.com>
Signed-off-by: Hersen Wu <hersenxs.wu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-05-02 16:18:18 -04:00
..
amdgpu_dm drm/amd/display: Fix writeback job lock evasion within dm_crtc_high_irq 2024-05-02 16:18:18 -04:00
dc drm/amd/display: Fix index may exceed array range within fpu_update_bw_bounding_box 2024-05-02 16:18:18 -04:00
dmub drm/amd/display: Notify idle link detection through shared state 2024-04-30 09:57:17 -04:00
include drm/amd/display: Add misc DC changes for DCN401 2024-04-26 17:23:34 -04:00
modules drm/amd/display: Add array index check for hdcp ddc access 2024-05-02 16:18:17 -04:00
Kconfig drm/amd/display: Fix invalid Copyright notice 2024-05-02 16:18:16 -04:00
Makefile drm/amd/display: Refactor DCCG into component folder 2024-05-02 16:18:16 -04:00