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

Zhang, Hawking Hawking.Zhang at amd.com
Sun May 1 02:12:46 UTC 2022


[AMD Official Use Only - General]

Reviewed-by: Hawking Zhang <Hawking.Zhang at amd.com>

Regards,
Hawking
-----Original Message-----
From: amd-gfx <amd-gfx-bounces at lists.freedesktop.org> On Behalf Of Alex Deucher
Sent: Saturday, April 30, 2022 01:32
To: amd-gfx at lists.freedesktop.org
Cc: Deucher, Alexander <Alexander.Deucher at amd.com>; Gao, Likun <Likun.Gao at amd.com>
Subject: [PATCH 2/2] drm/amdgpu/discovery: Set GC family for GC 11.0 IP

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