diff options
author | Colin Ian King <colin.king@canonical.com> | 2021-01-11 11:46:38 +0000 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-01-11 16:09:06 -0500 |
commit | 2a38ca998f50f887fdfa9a35c3c98a020bd68f25 (patch) | |
tree | 5aeccbff5e8c287ba0fde6c772ac5299c5521775 /drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c | |
parent | a897913a819191550ab2fa2784d3c3ada3a096d3 (diff) | |
download | linux-2a38ca998f50f887fdfa9a35c3c98a020bd68f25.tar.gz linux-2a38ca998f50f887fdfa9a35c3c98a020bd68f25.tar.bz2 linux-2a38ca998f50f887fdfa9a35c3c98a020bd68f25.zip |
drm/amdgpu: Add missing BOOTUP_DEFAULT to profile_name[]
A recent change added a new BOOTUP_DEFAULT power profile mode
to the PP_SMC_POWER_PROFILE enum but omitted updating the
corresponding profile_name array. Fix this by adding in the
missing BOOTUP_DEFAULT to profile_name[].
Addresses-Coverity: ("Out-of-bounds read")
Fixes: c27c9778a19e ("drm/amd/powerplay: support BOOTUP_DEFAULT power profile mode")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c')
0 files changed, 0 insertions, 0 deletions