aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorRex Zhu <[email protected]>2018-07-05 08:34:13 +0000
committerAlex Deucher <[email protected]>2018-07-10 19:16:39 +0000
commit73b1917454b3639ac1926c869f51e0dc20a0d22f (patch)
treef17d07fe289e897ad5245eb6a80252841cb3803c /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parentdrm/amdgpu: Reserve VM root shared fence slot for command submission (v3) (diff)
downloadkernel-73b1917454b3639ac1926c869f51e0dc20a0d22f.tar.gz
kernel-73b1917454b3639ac1926c869f51e0dc20a0d22f.zip
drm/amdgpu: Add CLK IP base offset
so we can read/write the registers in CLK domain through RREG32/WREG32_SOC15 Reviewed-by: Evan Quan <[email protected]> Signed-off-by: Rex Zhu <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index 8a440b9fa0fd..b38c170fb95c 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -1398,6 +1398,7 @@ enum amd_hw_ip_block_type {
PWR_HWIP,
NBIF_HWIP,
THM_HWIP,
+ CLK_HWIP,
MAX_HWIP
};