drm/amd/pm: ac/dc change for smu_v13_0
authorKenneth Feng <kenneth.feng@amd.com>
Thu, 7 Jul 2022 14:16:11 +0000 (22:16 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 8 Jul 2022 22:25:44 +0000 (18:25 -0400)
commitc028d66e6ec471fc24f70204768f43594a6a8b4a
treeb1515e2130023ed2d00d0d7774b8bf5136c8ece7
parent9a23fcf79dc647627b3780284a156cc6e7bbd7c4
drm/amd/pm: ac/dc change for smu_v13_0

fixed the issue: gpu runs in dc mode but it is expected to be in ac mode.
this causes the lower performance on smu_v13_0

Signed-off-by: Kenneth Feng <kenneth.feng@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu_v13_0_7_ppsmc.h
drivers/gpu/drm/amd/pm/swsmu/inc/smu_types.h
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c