diff options
| author | Hersen Wu <[email protected]> | 2024-04-25 09:24:44 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-05-02 16:18:18 -0400 |
| commit | 188fd1616ec43033cedbe343b6579e9921e2d898 (patch) | |
| tree | 5b4f3b471aa8c580eef17fdf40cdc9c9362f501e /tools/perf/scripts/python/task-analyzer.py | |
| parent | 922c2877827dcc474f3079e464773ab31ac13b79 (diff) | |
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 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions