summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/cik.h
diff options
context:
space:
mode:
authorOak Zeng <ozeng@amd.com>2018-11-19 09:51:20 -0600
committerAlex Deucher <alexander.deucher@amd.com>2018-11-28 15:55:32 -0500
commit4e2c1ac2027d1ad99109b676450db8759779222c (patch)
treea1758f7aaf041e03154c5fb06ac04749e4c34893 /drivers/gpu/drm/amd/amdgpu/cik.h
parent062f380725376efab279956b5441071684c2a7ff (diff)
drm/amdgpu: Doorbell index initialization for ASICs before vega10
Initialize doorbell index for asics vi and cik v2: Use enum definition instead of hardcoded number Signed-off-by: Oak Zeng <ozeng@amd.com> Suggested-by: Felix Kuehling <Felix.Kuehling@amd.com> Suggested-by: Alex Deucher <alexander.deucher@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/cik.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/cik.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/cik.h b/drivers/gpu/drm/amd/amdgpu/cik.h
index e49c6f15a0a0..54c625a2e570 100644
--- a/drivers/gpu/drm/amd/amdgpu/cik.h
+++ b/drivers/gpu/drm/amd/amdgpu/cik.h
@@ -30,4 +30,5 @@ void cik_srbm_select(struct amdgpu_device *adev,
u32 me, u32 pipe, u32 queue, u32 vmid);
int cik_set_ip_blocks(struct amdgpu_device *adev);
+void legacy_doorbell_index_init(struct amdgpu_device *adev);
#endif