aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/gcc-generate-rtl-pass.h
diff options
context:
space:
mode:
authorRoman Li <[email protected]>2024-03-13 22:35:13 +0000
committerAlex Deucher <[email protected]>2024-03-27 13:27:29 +0000
commit2f10d4a51bbcd938f1f02f16c304ad1d54717b96 (patch)
tree7b3b3fb16138ccf7ea8059bc9d093860a2898e18 /scripts/gcc-plugins/gcc-generate-rtl-pass.h
parentdrm/amd/display: Remove MPC rate control logic from DCN30 and above (diff)
downloadkernel-2f10d4a51bbcd938f1f02f16c304ad1d54717b96.tar.gz
kernel-2f10d4a51bbcd938f1f02f16c304ad1d54717b96.zip
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 'scripts/gcc-plugins/gcc-generate-rtl-pass.h')
0 files changed, 0 insertions, 0 deletions