drm/amd/pm: no pptable resetup on runpm exiting
authorEvan Quan <evan.quan@amd.com>
Tue, 21 Feb 2023 07:21:19 +0000 (15:21 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 23 Feb 2023 22:35:59 +0000 (17:35 -0500)
commit6761c4bfee681c306bbe6599951e74826660be47
treecd1aa81d4f8264c737c0e92d0fae72f38a313c36
parentedddc6fd542ffbae680c2201bbf6763f1693db4f
drm/amd/pm: no pptable resetup on runpm exiting

It is assumed the pptable used before runpm is same as
the one used afterwards. Thus, we can reuse the stored
copy and do not need to resetup the pptable again.

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