drm/amdgpu/discovery: set the APU flag for GC 11.0.4
authorYifan Zhang <yifan1.zhang@amd.com>
Wed, 12 Oct 2022 03:16:29 +0000 (11:16 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 29 Nov 2022 16:03:36 +0000 (11:03 -0500)
Set the APU flag appropriately for GC 11.0.4.

Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com>
Reviewed-by: Aaron Liu <aaron.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c

index 524e2aa849c05db55c74774a6815b0dbd7797c68..19dbd75a617667744847e765898bc826803f0ddf 100644 (file)
@@ -2220,6 +2220,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: