[PATCH 2/2] drm/amdgpu/discovery: Set GC family for GC 11.0 IP

Alex Deucher alexander.deucher at amd.com
Fri Apr 29 17:32:18 UTC 2022


From: Likun Gao <Likun.Gao at amd.com>

Set GC family for GC 11.0 IPs.

Signed-off-by: Likun Gao <Likun.Gao at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
index 2349617efeee..9c177ccc7ed9 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
@@ -2090,6 +2090,9 @@ int amdgpu_discovery_set_ip_blocks(struct amdgpu_device *adev)
 	case IP_VERSION(10, 3, 7):
 		adev->family = AMDGPU_FAMILY_GC_10_3_7;
 		break;
+	case IP_VERSION(11, 0, 0):
+		adev->family = AMDGPU_FAMILY_GC_11_0_0;
+		break;
 	default:
 		return -EINVAL;
 	}
-- 
2.35.1



More information about the amd-gfx mailing list