[PATCH 0/7] Drop unneeded power related lock protections
Evan Quan
evan.quan at amd.com
Wed Dec 8 02:37:00 UTC 2021
As a follow-up for previous cleanup, those redundant lock protections
can be dropped now. As we already adopted an unified lock(adev->pm.mutex)
in amdgpu_dpm.c.
Evan Quan (7):
drm/amd/pm: drop unneeded lock protection smu->mutex
drm/amd/pm: drop unneeded vcn/jpeg_gate_lock
drm/amd/pm: drop unneeded smu->metrics_lock
drm/amd/pm: drop unneeded smu->sensor_lock
drm/amd/pm: drop unneeded smu_baco->mutex
drm/amd/pm: drop unneeded feature->mutex
drm/amd/pm: drop unneeded hwmgr->smu_lock
.../gpu/drm/amd/pm/powerplay/amd_powerplay.c | 282 ++-----------
drivers/gpu/drm/amd/pm/powerplay/inc/hwmgr.h | 1 -
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 375 ++----------------
drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h | 7 -
.../gpu/drm/amd/pm/swsmu/smu11/arcturus_ppt.c | 18 +-
.../amd/pm/swsmu/smu11/cyan_skillfish_ppt.c | 14 +-
.../gpu/drm/amd/pm/swsmu/smu11/navi10_ppt.c | 116 ++----
.../amd/pm/swsmu/smu11/sienna_cichlid_ppt.c | 31 +-
.../gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c | 19 +-
.../gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c | 30 +-
.../gpu/drm/amd/pm/swsmu/smu12/renoir_ppt.c | 16 +-
.../drm/amd/pm/swsmu/smu13/aldebaran_ppt.c | 27 +-
.../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c | 20 +-
.../drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c | 12 +-
drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c | 40 +-
drivers/gpu/drm/amd/pm/swsmu/smu_cmn.h | 4 -
16 files changed, 157 insertions(+), 855 deletions(-)
--
2.29.0
More information about the amd-gfx
mailing list