summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2023-01-25 02:27:49 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2023-01-25 02:27:49 +0000
commitb574d2f88625ba220b74247d693779640b4b8a31 (patch)
tree0517e4c11c24580f5742041afcf5b49cb78c6d23 /sys/dev
parent847df081da8336e24041a27e7c701e52aa4c6785 (diff)
drm/amdgpu/pm: add GFXOFF control IP version check for SMU IP v13.0.11
From Yifan Zhang c776433afefde3f0dd74d43fb2cc5791bbd1caaf in linux-6.1.y/6.1.8 9f83e61201bb21957e4993736532edad7a11c7fa in mainline linux
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0.c b/sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0.c
index bc2c9f5b2a2..700c8844895 100644
--- a/sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0.c
+++ b/sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0.c
@@ -845,6 +845,7 @@ int smu_v13_0_gfx_off_control(struct smu_context *smu, bool enable)
case IP_VERSION(13, 0, 7):
case IP_VERSION(13, 0, 8):
case IP_VERSION(13, 0, 10):
+ case IP_VERSION(13, 0, 11):
if (!(adev->pm.pp_feature & PP_GFXOFF_MASK))
return 0;
if (enable)