[AMD Official Use Only - General]

Reviewed-by: Hawking Zhang <[email protected]>

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

From: Likun Gao <[email protected]>

Set GC family for GC 11.0 IPs.

Signed-off-by: Likun Gao <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
---
 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

Reply via email to