summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_baco.c
diff options
context:
space:
mode:
authorMa Jun <Jun.Ma2@amd.com>2024-03-25 10:17:52 +0800
committerAlex Deucher <alexander.deucher@amd.com>2024-04-09 22:07:50 -0400
commit1b19959427988f02236d5fe5ddb776705da22c87 (patch)
tree218d08fb1cf72bcaceafa5ebd132427211261267 /drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_baco.c
parente5040d1496be041a586bb74357703677b0cac232 (diff)
downloadlinux-stable-1b19959427988f02236d5fe5ddb776705da22c87.tar.gz
linux-stable-1b19959427988f02236d5fe5ddb776705da22c87.tar.bz2
linux-stable-1b19959427988f02236d5fe5ddb776705da22c87.zip
drm/amdgpu/pm: Change the member function name in pp_hwmgr_func and pptable_funcs
Use a unified and more explicit name get_bamaco_support to replace is_baco_support and get_asic_baco_capability Signed-off-by: Ma Jun <Jun.Ma2@amd.com> Suggested-by: Lijo Lazar <lijo.lazar@amd.com> Reviewed-by: Lijo Lazar <lijo.lazar@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_baco.c')
-rw-r--r--drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_baco.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_baco.c b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_baco.c
index dad4c80aee58..0d0523e046d4 100644
--- a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_baco.c
+++ b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_baco.c
@@ -36,7 +36,7 @@ static const struct soc15_baco_cmd_entry clean_baco_tbl[] = {
{CMD_WRITE, SOC15_REG_ENTRY(NBIF, 0, mmBIOS_SCRATCH_7), 0, 0, 0, 0},
};
-bool vega20_baco_get_capability(struct pp_hwmgr *hwmgr)
+bool vega20_get_bamaco_support(struct pp_hwmgr *hwmgr)
{
struct amdgpu_device *adev = (struct amdgpu_device *)(hwmgr->adev);
uint32_t reg;