drm/amdgpu: set asic family and ip blocks for navi12
authorXiaojie Yuan <xiaojie.yuan@amd.com>
Thu, 16 May 2019 09:36:41 +0000 (17:36 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 2 Aug 2019 15:30:39 +0000 (10:30 -0500)
same with navi10

Signed-off-by: Xiaojie Yuan <xiaojie.yuan@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c

index 6bc3dd76eb1eb2afd9cade1a6ac09a234b2b9fde..b3ad96add13cb40eb9bf9fec36b50e815e65c724 100644 (file)
@@ -1627,6 +1627,7 @@ static int amdgpu_device_ip_early_init(struct amdgpu_device *adev)
                break;
        case  CHIP_NAVI10:
        case  CHIP_NAVI14:
+       case  CHIP_NAVI12:
                adev->family = AMDGPU_FAMILY_NV;
 
                r = nv_set_ip_blocks(adev);