drm/amdgpu: set asic family and ip blocks for vega12
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 1 Sep 2017 20:22:35 +0000 (16:22 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Mar 2018 19:23:55 +0000 (14:23 -0500)
soc15 just like vega10 and raven.

Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Feifei Xu <Feifei.Xu@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c

index 56fd8adc8cec33bfed1d29572aa85358f20ac5bd..229ec63f043545369ea24c1d838751323adf9ccc 100644 (file)
@@ -1470,8 +1470,9 @@ static int amdgpu_device_ip_early_init(struct amdgpu_device *adev)
                        return r;
                break;
 #endif
-       case  CHIP_VEGA10:
-       case  CHIP_RAVEN:
+       case CHIP_VEGA10:
+       case CHIP_VEGA12:
+       case CHIP_RAVEN:
                if (adev->asic_type == CHIP_RAVEN)
                        adev->family = AMDGPU_FAMILY_RV;
                else