drm/amd/pm: use vbios carried pptable for those supported SKUs
authorEvan Quan <evan.quan@amd.com>
Tue, 23 Aug 2022 07:45:36 +0000 (15:45 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 29 Aug 2022 21:59:29 +0000 (17:59 -0400)
commit64e32c91fbb88a2f3f4ab697f538fd8f3f62d99d
tree82a034e3e6cccb3034ff727230a625727a9a6bc7
parent94adb9933609bb3846261a688b28c2ba428f8805
drm/amd/pm: use vbios carried pptable for those supported SKUs

For some SMU13.0.0 SKUs, the vbios carried pptable is ready to go.
Use that one instead of hardcoded softpptable.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Kenneth Feng <kenneth.feng@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