summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2023-02-15 10:15:01 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2023-02-15 10:15:01 +0000
commit26f8ddd388927f647821b7fa0160d7536c36b430 (patch)
treeb114ad52831b508789faaeecef52cbece037f40e
parentedf3ed166690c25b93c5d3bfdc82f939e03ead34 (diff)
drm/amdgpu: Add unique_id support for GC 11.0.1/2
From Kent Russell e379d5662c26b65384d95674559f9343be132851 in linux-6.1.y/6.1.12 c108a18462949fe709ebd6b0be68398d643bc285 in mainline linux
-rw-r--r--sys/dev/pci/drm/amd/pm/amdgpu_pm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/amd/pm/amdgpu_pm.c b/sys/dev/pci/drm/amd/pm/amdgpu_pm.c
index 5b1f3904edc..03d014f0181 100644
--- a/sys/dev/pci/drm/amd/pm/amdgpu_pm.c
+++ b/sys/dev/pci/drm/amd/pm/amdgpu_pm.c
@@ -1993,6 +1993,8 @@ static int default_attr_update(struct amdgpu_device *adev, struct amdgpu_device_
case IP_VERSION(9, 4, 2):
case IP_VERSION(10, 3, 0):
case IP_VERSION(11, 0, 0):
+ case IP_VERSION(11, 0, 1):
+ case IP_VERSION(11, 0, 2):
*states = ATTR_STATE_SUPPORTED;
break;
default: