drm/amd/pm: workaround for compute workload type on some skus
authorKenneth Feng <kenneth.feng@amd.com>
Thu, 8 Jun 2023 14:07:11 +0000 (22:07 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 13 Jun 2023 21:05:49 +0000 (17:05 -0400)
commit7ca302d488f80cf4529620acc1c545f9022d8bb8
tree53f19ff108065cbe98e13d09eb5d883a999ace86
parent7ab1a4913d0051cf5196ef7987b5fa42c25e13b6
drm/amd/pm: workaround for compute workload type on some skus

On smu 13.0.0, the compute workload type cannot be set on all the skus
due to some other problems. This workaround is to make sure compute workload type
can also run on some specific skus.

v2: keep the variable consistent

Signed-off-by: Kenneth Feng <kenneth.feng@amd.com>
Acked-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Feifei Xu <Feifei.Xu@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/smu13/smu_v13_0_0_ppt.c