From: jsg Date: Wed, 15 Feb 2023 10:15:00 +0000 (+0000) Subject: drm/amdgpu: Add unique_id support for GC 11.0.1/2 X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=f9ed5a914168549c55a7ba79f5485d3966d059ae;p=openbsd 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 --- 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: