From: Roman Li <[email protected]>

GC 11.7.0 and 11.7.1 should map to AMDGPU_FAMILY_GC_11_5_4 for DCN42.

Signed-off-by: Roman Li <[email protected]>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c 
b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
index f33278fcc0f4..f52566e05caa 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
@@ -3368,9 +3368,11 @@ int amdgpu_discovery_set_ip_blocks(struct amdgpu_device 
*adev)
        case IP_VERSION(11, 5, 3):
        case IP_VERSION(11, 5, 4):
        case IP_VERSION(11, 5, 6):
+               adev->family = AMDGPU_FAMILY_GC_11_5_0;
+               break;
        case IP_VERSION(11, 7, 0):
        case IP_VERSION(11, 7, 1):
-               adev->family = AMDGPU_FAMILY_GC_11_5_0;
+               adev->family = AMDGPU_FAMILY_GC_11_5_4;
                break;
        case IP_VERSION(12, 0, 0):
        case IP_VERSION(12, 0, 1):
-- 
2.34.1

Reply via email to