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>
Fri, 9 Jun 2023 16:50:00 +0000 (12:50 -0400)
commit57a8011512131c63cf700d42ef56ad875409a1a5
tree4e6992490d531d5b513a27870c1da3af28fcdcef
parent389c6b3e120303715c018d1bfc7bab02b50ca3f4
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>
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c