Since 'hardwareActivityPerformanceLevels' is set to the size of the
'performance_levels' array in smu7_hwmgr_backend_init(), using the
'<=' assertion to check for the next index value is incorrect.
Replace it with '<'.
Detected using the static analysis tool - Svace.
Fixes:
|
||
---|---|---|
.. | ||
inc | ||
legacy-dpm | ||
powerplay | ||
swsmu | ||
amdgpu_dpm.c | ||
amdgpu_dpm_internal.c | ||
amdgpu_pm.c | ||
Makefile |