summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2017-09-01 16:22:35 -0400
committerAlex Deucher <alexander.deucher@amd.com>2018-03-21 14:23:55 -0500
commite48a3cd9cbb707e5f3531c1cd6e6fe6ee3a18212 (patch)
tree003f24c59a05d633e56f7e0915b19d878d62dbcb /drivers/gpu
parent3f76dcedb30383b63e60d720990e8de29b7e611a (diff)
downloadop-kernel-dev-e48a3cd9cbb707e5f3531c1cd6e6fe6ee3a18212.zip
op-kernel-dev-e48a3cd9cbb707e5f3531c1cd6e6fe6ee3a18212.tar.gz
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')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_device.c5
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 56fd8ad..229ec63 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)
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
OpenPOWER on IntegriCloud