drm/amd/pm: update the hw initialization sequence around pptable setup
authorEvan Quan <evan.quan@amd.com>
Thu, 17 Mar 2022 06:15:06 +0000 (14:15 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 4 May 2022 13:57:58 +0000 (09:57 -0400)
commit288908edce3e27b3f959979d81f55e6a858fef34
tree53d7ec295dbc7a5b88283a1fc58d84630104cdc9
parent593a54f18031edb1081e2447e66e499f7d013bbd
drm/amd/pm: update the hw initialization sequence around pptable setup

Place pptable setup after smu_set_driver_table_location. As under SCPM
enabled scenario, the latter one is a prerequisite for the former one.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c