summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorRoman Li <roman.li@amd.com>2024-03-14 01:35:13 +0300
committerAlex Deucher <alexander.deucher@amd.com>2024-03-27 08:41:07 +0300
commita13ad81951c1334a2ddd0225929552f2eb7f074c (patch)
tree33e7b56f2517564b32befe376625eaabd080b80e /tools/perf/scripts/python/exported-sql-viewer.py
parent9712b64d6f3f173aff10322fd22dc3678758b8c3 (diff)
downloadlinux-a13ad81951c1334a2ddd0225929552f2eb7f074c.tar.xz
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 <mario.limonciello@amd.com> Cc: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org Reviewed-by: Sun peng Li <sunpeng.li@amd.com> Acked-by: Tom Chung <chiahsuan.chung@amd.com> Signed-off-by: Roman Li <roman.li@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions