From: Yifan Zhang <yifan1.zh...@amd.com>

This patch to add GC 11.5.1 to GC 11.5.0 family.

Signed-off-by: Yifan Zhang <yifan1.zh...@amd.com>
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c 
b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
index 6a63145beaf2..71dbf7a83e42 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
@@ -2462,6 +2462,7 @@ int amdgpu_discovery_set_ip_blocks(struct amdgpu_device 
*adev)
                adev->family = AMDGPU_FAMILY_GC_11_0_1;
                break;
        case IP_VERSION(11, 5, 0):
+       case IP_VERSION(11, 5, 1):
                adev->family = AMDGPU_FAMILY_GC_11_5_0;
                break;
        default:
@@ -2481,6 +2482,7 @@ int amdgpu_discovery_set_ip_blocks(struct amdgpu_device 
*adev)
        case IP_VERSION(11, 0, 1):
        case IP_VERSION(11, 0, 4):
        case IP_VERSION(11, 5, 0):
+       case IP_VERSION(11, 5, 1):
                adev->flags |= AMD_IS_APU;
                break;
        default:
-- 
2.42.0

Reply via email to