1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/pm
Ma Jun 08ae9ef829 drm/amdgpu/pm: Fix NULL pointer dereference when get power limit
Because powerplay_table initialization is skipped under
sriov case, We check and set default lower and upper OD
value if powerplay_table is NULL.

Fixes: 7968e9748f ("drm/amdgpu/pm: Fix the power1_min_cap value")
Signed-off-by: Ma Jun <Jun.Ma2@amd.com>
Reported-by: Yin Zhenguo <zhenguo.yin@amd.com>
Suggested-by: Lazar Lijo <lijo.lazar@amd.com>
Suggested-by: Alex Deucher <Alexander.Deucher@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
2024-03-20 13:12:57 -04:00
..
inc drm/amdgpu: implement smu send rma reason for smu v13.0.6 2024-02-12 16:08:17 -05:00
legacy-dpm Revert "drm/amd/pm: resolve reboot exception for si oland" 2024-02-27 11:07:10 -05:00
powerplay drm/amdgpu: fix wrong sizeof argument 2024-01-22 17:13:25 -05:00
swsmu drm/amdgpu/pm: Fix NULL pointer dereference when get power limit 2024-03-20 13:12:57 -04:00
amdgpu_dpm.c drm/amdgpu: implement smu send rma reason for smu v13.0.6 2024-02-12 16:08:17 -05:00
amdgpu_dpm_internal.c drm/amd/pm: add missing prototypes to amdgpu_dpm_internal 2022-02-07 18:03:50 -05:00
amdgpu_pm.c drm/amd/pm: disable pp_dpm_dcefclk node for gfx 11.0.3 sriov 2024-03-06 15:24:49 -05:00
Makefile drm/amd/swsmu: add smu14 ip support 2023-10-13 10:59:55 -04:00