1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/pm
Colin Ian King 9e89ee9be1 drm/amd/pm: fix out-of-bound read on pptable->SkuReserved
A recent change added two uint16_t elements to PPTable_t and reduced the
uint32_t array down to 8 elements. This results in the dev_info printing
of pptable->SkuReserved[8] accessing a value that is out-of-range on
array SkuReserved.  The array has been shrunk by 1 element, so remove
this extraneous dev_info message.

Addresses-Coverity: ("Out-of-bounds read")
Fixes: 1dc3c5a95b ("drm/amd/pm: update driver if file for sienna cichlid")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-10-30 01:02:18 -04:00
..
inc drm/amd/pm: perform SMC reset on suspend/hibernation 2020-10-30 01:00:43 -04:00
powerplay drm/amdgpu/powerplay: Only apply optimized mclk dpm policy on polaris 2020-10-30 01:01:58 -04:00
swsmu drm/amd/pm: fix out-of-bound read on pptable->SkuReserved 2020-10-30 01:02:18 -04:00
amdgpu_dpm.c drm/amdgpu: Get DRM dev from adev by inline-f 2020-08-24 13:06:06 -04:00
amdgpu_pm.c drm/amd/pm: set the initial value of pm info to zero 2020-10-30 00:58:18 -04:00
Makefile