drm/amd/pm: share the code around SMU13 pcie parameters update
authorEvan Quan <evan.quan@amd.com>
Fri, 7 Jul 2023 19:31:34 +0000 (14:31 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 12 Jul 2023 14:57:53 +0000 (10:57 -0400)
commit9df88c8104e191550ac46382a7f5b5db4b6fec0c
treefcb0eadb6b5645398ee0582e331e24747cd03a09
parent822130b5e8834ab30ad410cf19a582e5014b9a85
drm/amd/pm: share the code around SMU13 pcie parameters update

So that SMU13.0.0 and SMU13.0.7 do not need to have one copy each.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/inc/smu_v13_0.h
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c
drivers/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