diff options
| author | Roman Li <[email protected]> | 2024-03-13 18:35:13 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-03-27 01:41:07 -0400 |
| commit | a13ad81951c1334a2ddd0225929552f2eb7f074c (patch) | |
| tree | 33e7b56f2517564b32befe376625eaabd080b80e /tools/perf/scripts/python/bin | |
| parent | 9712b64d6f3f173aff10322fd22dc3678758b8c3 (diff) | |
drm/amd/display: Fix bounds check for dcn35 DcfClocks
[Why]
NumFclkLevelsEnabled is used for DcfClocks bounds check
instead of designated NumDcfClkLevelsEnabled.
That can cause array index out-of-bounds access.
[How]
Use designated variable for dcn35 DcfClocks bounds check.
Fixes: a8edc9cc0b14 ("drm/amd/display: Fix array-index-out-of-bounds in dcn35_clkmgr")
Cc: Mario Limonciello <[email protected]>
Cc: Alex Deucher <[email protected]>
Cc: [email protected]
Reviewed-by: Sun peng Li <[email protected]>
Acked-by: Tom Chung <[email protected]>
Signed-off-by: Roman Li <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions