diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2017-09-01 16:22:35 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-03-21 15:23:55 -0400 |
commit | e48a3cd9cbb707e5f3531c1cd6e6fe6ee3a18212 (patch) | |
tree | 003f24c59a05d633e56f7e0915b19d878d62dbcb /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
parent | 3f76dcedb30383b63e60d720990e8de29b7e611a (diff) |
drm/amdgpu: set asic family and ip blocks for vega12
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c index 56fd8adc8cec..229ec63f0435 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |||
@@ -1470,8 +1470,9 @@ static int amdgpu_device_ip_early_init(struct amdgpu_device *adev) | |||
1470 | return r; | 1470 | return r; |
1471 | break; | 1471 | break; |
1472 | #endif | 1472 | #endif |
1473 | case CHIP_VEGA10: | 1473 | case CHIP_VEGA10: |
1474 | case CHIP_RAVEN: | 1474 | case CHIP_VEGA12: |
1475 | case CHIP_RAVEN: | ||
1475 | if (adev->asic_type == CHIP_RAVEN) | 1476 | if (adev->asic_type == CHIP_RAVEN) |
1476 | adev->family = AMDGPU_FAMILY_RV; | 1477 | adev->family = AMDGPU_FAMILY_RV; |
1477 | else | 1478 | else |