drm/amdgpu/discovery: set the APU flag for GC 11.0.4
authorjsg <jsg@openbsd.org>
Wed, 25 Jan 2023 02:15:15 +0000 (02:15 +0000)
committerjsg <jsg@openbsd.org>
Wed, 25 Jan 2023 02:15:15 +0000 (02:15 +0000)
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

index 796deda..608ea59 100644 (file)
@@ -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: