diff options
author | Guchun Chen <guchun.chen@amd.com> | 2020-01-08 13:52:00 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-01-14 10:18:09 -0500 |
commit | 5d4667ec33a0d2978afb999eedc81ac54d76fe5c (patch) | |
tree | 29c3780aa5729816d1b3089e4053dda60a8fcab3 /drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | |
parent | 817396dc9f6ab2481b94071de2e586aae876e89c (diff) |
drm/amdgpu: calculate MCUMC_ADDRT0 per asic's UMC offset
Hardcoded offset is not friendly. And another benifit of this
patch is to keep read and write access to this register be
consistent with other similar UMC regsiters in this file.
Signed-off-by: Guchun Chen <guchun.chen@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c')
0 files changed, 0 insertions, 0 deletions