Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Hawking Zhang and committed by
Alex Deucher
6501a771 7af25d5b

+4
+2
drivers/gpu/drm/amd/amdgpu/amdgpu.h
··· 752 752 NBIF_HWIP, 753 753 THM_HWIP, 754 754 CLK_HWIP, 755 + UMC_HWIP, 756 + RSMU_HWIP, 755 757 MAX_HWIP 756 758 }; 757 759
+2
drivers/gpu/drm/amd/amdgpu/vega20_reg_init.c
··· 50 50 adev->reg_offset[NBIF_HWIP][i] = (uint32_t *)(&(NBIO_BASE.instance[i])); 51 51 adev->reg_offset[THM_HWIP][i] = (uint32_t *)(&(THM_BASE.instance[i])); 52 52 adev->reg_offset[CLK_HWIP][i] = (uint32_t *)(&(CLK_BASE.instance[i])); 53 + adev->reg_offset[UMC_HWIP][i] = (uint32_t *)(&(UMC_BASE.instance[i])); 54 + adev->reg_offset[RSMU_HWIP][i] = (uint32_t *)(&(RSMU_BASE.instance[i])); 53 55 } 54 56 return 0; 55 57 }