-
- Downloads
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: 7968e974 ("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
Showing
- drivers/gpu/drm/amd/pm/swsmu/smu11/arcturus_ppt.c 8 additions, 6 deletionsdrivers/gpu/drm/amd/pm/swsmu/smu11/arcturus_ppt.c
- drivers/gpu/drm/amd/pm/swsmu/smu11/navi10_ppt.c 9 additions, 7 deletionsdrivers/gpu/drm/amd/pm/swsmu/smu11/navi10_ppt.c
- drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c 8 additions, 6 deletionsdrivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c
- drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c 8 additions, 6 deletionsdrivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c
- drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c 8 additions, 6 deletionsdrivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c
Loading
Please register or sign in to comment