Commit 460826e6 authored by Ken Wang's avatar Ken Wang Committed by Alex Deucher

drm/amdgpu: Set the IP blocks for vega10

Acked-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarKen Wang <Qingqing.Wang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 220ab9bd
...@@ -49,6 +49,7 @@ ...@@ -49,6 +49,7 @@
#include "cik.h" #include "cik.h"
#endif #endif
#include "vi.h" #include "vi.h"
#include "soc15.h"
#include "bif/bif_4_1_d.h" #include "bif/bif_4_1_d.h"
#include <linux/pci.h> #include <linux/pci.h>
#include <linux/firmware.h> #include <linux/firmware.h>
...@@ -1434,6 +1435,13 @@ static int amdgpu_early_init(struct amdgpu_device *adev) ...@@ -1434,6 +1435,13 @@ static int amdgpu_early_init(struct amdgpu_device *adev)
return r; return r;
break; break;
#endif #endif
case CHIP_VEGA10:
adev->family = AMDGPU_FAMILY_AI;
r = soc15_set_ip_blocks(adev);
if (r)
return r;
break;
default: default:
/* FIXME: not supported yet */ /* FIXME: not supported yet */
return -EINVAL; return -EINVAL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment