drm/amdgpu: Add unique_id support for GC 11.0.1/2
authorjsg <jsg@openbsd.org>
Wed, 15 Feb 2023 10:15:00 +0000 (10:15 +0000)
committerjsg <jsg@openbsd.org>
Wed, 15 Feb 2023 10:15:00 +0000 (10:15 +0000)
From Kent Russell
e379d5662c26b65384d95674559f9343be132851 in linux-6.1.y/6.1.12
c108a18462949fe709ebd6b0be68398d643bc285 in mainline linux

sys/dev/pci/drm/amd/pm/amdgpu_pm.c

index 5b1f390..03d014f 100644 (file)
@@ -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: