summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/pm
diff options
context:
space:
mode:
authorKenneth Feng <kenneth.feng@amd.com>2022-10-20 10:25:25 +0300
committerAlex Deucher <alexander.deucher@amd.com>2022-10-24 21:44:03 +0300
commit08841950db932dc3ba8bbd4c0f1f7f27ccfbae42 (patch)
treeeaf7e5f3ba313668ce992d72edd712c926d9cd8a /drivers/gpu/drm/amd/pm
parent90bfee142af0f0e9d3bec80e7acd5f49b230acf7 (diff)
downloadlinux-08841950db932dc3ba8bbd4c0f1f7f27ccfbae42.tar.xz
drm/amd/pm: allow gfxoff on gc_11_0_3
allow gfxoff on gc_11_0_3 Signed-off-by: Kenneth Feng <kenneth.feng@amd.com> Reviewed-by: Yang Wang <kevinyang.wang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/pm')
-rw-r--r--drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c
index feb4d68f3fd9..43fb102a65f5 100644
--- a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c
+++ b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c
@@ -840,6 +840,7 @@ int smu_v13_0_gfx_off_control(struct smu_context *smu, bool enable)
case IP_VERSION(13, 0, 5):
case IP_VERSION(13, 0, 7):
case IP_VERSION(13, 0, 8):
+ case IP_VERSION(13, 0, 10):
if (!(adev->pm.pp_feature & PP_GFXOFF_MASK))
return 0;
if (enable)