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 16:07:43 +0000 (12:07 -0400)
commitdcb489bae65d92cfd26da22c7a0d6665b06ecc63
tree5737a3711e5caa393b2e9f9141db928b82e6d66c
parent8a774fe912ff09e39c2d3a3589c729330113f388
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>
Cc: stable@vger.kernel.org # 6.1.x
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