summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2018-11-06 11:19:00 -0500
committerAlex Deucher <alexander.deucher@amd.com>2018-11-06 14:02:38 -0500
commit1cda5e2161b401b98e3dad561c7da0013b617f4b (patch)
treee6a59d1587d1cd2f193151eb9d6fa885698481fb /drivers/gpu/drm/amd
parentbab45e44b131e529be750a8048e4d74cbaec1aa2 (diff)
downloadtalos-op-linux-1cda5e2161b401b98e3dad561c7da0013b617f4b.tar.gz
talos-op-linux-1cda5e2161b401b98e3dad561c7da0013b617f4b.zip
drm/amdgpu/vega20: add CLK base offset
In case we need to access CLK registers. Acked-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/vega20_reg_init.c1
1 files changed, 1 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 2d4473557b0d..d13fc4fcb517 100644
--- a/drivers/gpu/drm/amd/amdgpu/vega20_reg_init.c
+++ b/drivers/gpu/drm/amd/amdgpu/vega20_reg_init.c
@@ -49,6 +49,7 @@ int vega20_reg_base_init(struct amdgpu_device *adev)
adev->reg_offset[SMUIO_HWIP][i] = (uint32_t *)(&(SMUIO_BASE.instance[i]));
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]));
}
return 0;
}
OpenPOWER on IntegriCloud