diff options
author | Hawking Zhang <Hawking.Zhang@amd.com> | 2019-07-17 11:52:28 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-07-31 21:48:51 +0200 |
commit | 6501a771708d7fa66bc87b13efcc8ab837f1e2ed (patch) | |
tree | 9fbba38f6878d0d560756cc07aef467cdfbd7124 /drivers/gpu/drm/amd/amdgpu/vega20_reg_init.c | |
parent | drm/amdgpu: move some ras data structure to amdgpu_ras.h (diff) | |
download | linux-6501a771708d7fa66bc87b13efcc8ab837f1e2ed.tar.xz linux-6501a771708d7fa66bc87b13efcc8ab837f1e2ed.zip |
drm/amdgpu: init RSMU and UMC ip base address for vega20
the driver needs to program RSMU and UMC registers to
support vega20 RAS feature
Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Dennis Li <dennis.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/vega20_reg_init.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/vega20_reg_init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/vega20_reg_init.c b/drivers/gpu/drm/amd/amdgpu/vega20_reg_init.c index 79223188bd47..587e33f5dcce 100644 --- a/drivers/gpu/drm/amd/amdgpu/vega20_reg_init.c +++ b/drivers/gpu/drm/amd/amdgpu/vega20_reg_init.c @@ -50,6 +50,8 @@ int vega20_reg_base_init(struct amdgpu_device *adev) adev->reg_offset[NBIF_HWIP][i] = (uint32_t *)(&(NBIO_BASE.instance[i])); adev->reg_offset[THM_HWIP][i] = (uint32_t *)(&(THM_BASE.instance[i])); adev->reg_offset[CLK_HWIP][i] = (uint32_t *)(&(CLK_BASE.instance[i])); + adev->reg_offset[UMC_HWIP][i] = (uint32_t *)(&(UMC_BASE.instance[i])); + adev->reg_offset[RSMU_HWIP][i] = (uint32_t *)(&(RSMU_BASE.instance[i])); } return 0; } |