From: Yifan Zhang Date: Wed, 12 Oct 2022 03:16:29 +0000 (+0800) Subject: drm/amdgpu/discovery: set the APU flag for GC 11.0.4 X-Git-Tag: v6.6.7~3824^2~4^2~52 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dd2d9c7fd7716838d477e257f43facd68c53d3a9;p=platform%2Fkernel%2Flinux-starfive.git drm/amdgpu/discovery: set the APU flag for GC 11.0.4 Set the APU flag appropriately for GC 11.0.4. Signed-off-by: Yifan Zhang Reviewed-by: Aaron Liu Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c index 524e2aa..19dbd75 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c @@ -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: