aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorXiaojie Yuan <[email protected]>2019-05-16 09:36:41 +0000
committerAlex Deucher <[email protected]>2019-08-02 15:30:39 +0000
commit4808cf9c2a82427148a0c66f8833d1f743e1c960 (patch)
tree388ad637c68185b09a9127b601fc0cff70fc1527 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentdrm/amdgpu: add gpu_info firmware for navi12 (diff)
downloadkernel-4808cf9c2a82427148a0c66f8833d1f743e1c960.tar.gz
kernel-4808cf9c2a82427148a0c66f8833d1f743e1c960.zip
drm/amdgpu: set asic family and ip blocks for navi12
same with navi10 Signed-off-by: Xiaojie Yuan <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_device.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
index 6bc3dd76eb1e..b3ad96add13c 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@ -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);