From c887a8bfdfb4cd6ed1ee56395a32dd05ebebca63 Mon Sep 17 00:00:00 2001 From: jsg Date: Wed, 25 Jan 2023 02:15:15 +0000 Subject: [PATCH] drm/amdgpu/discovery: set the APU flag for GC 11.0.4 From Yifan Zhang 09157e804d9e578c3bc8eff4d1ac4712f6e0fc1d in linux-6.1.y/6.1.8 dd2d9c7fd7716838d477e257f43facd68c53d3a9 in mainline linux --- sys/dev/pci/drm/amd/amdgpu/amdgpu_discovery.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/pci/drm/amd/amdgpu/amdgpu_discovery.c b/sys/dev/pci/drm/amd/amdgpu/amdgpu_discovery.c index 796deda3839..608ea596b51 100644 --- a/sys/dev/pci/drm/amd/amdgpu/amdgpu_discovery.c +++ b/sys/dev/pci/drm/amd/amdgpu/amdgpu_discovery.c @@ -2212,6 +2212,7 @@ int amdgpu_discovery_set_ip_blocks(struct amdgpu_device *adev) case IP_VERSION(10, 3, 6): case IP_VERSION(10, 3, 7): case IP_VERSION(11, 0, 1): + case IP_VERSION(11, 0, 4): adev->flags |= AMD_IS_APU; break; default: -- 2.20.1