[PATCH 0/7] Drop unnecessary power related lock protections
Evan Quan
evan.quan at amd.com
Thu Jan 6 05:57:25 UTC 2022
A unified lock protection mechanism was already enforced on those APIs
from amdgpu_dpm.c. Thus those extra internal lock protections will be
unnecessary and can be dropped.
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