aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/vi.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/vi.h
parentdrm/amdgpu: Vega10 doorbell index initialization (diff)
downloadlinux-dev-4e2c1ac2027d1ad99109b676450db8759779222c.tar.xz
linux-dev-4e2c1ac2027d1ad99109b676450db8759779222c.zip
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/vi.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/vi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/vi.h b/drivers/gpu/drm/amd/amdgpu/vi.h
index 0429fe332269..8de0772f986c 100644
--- a/drivers/gpu/drm/amd/amdgpu/vi.h
+++ b/drivers/gpu/drm/amd/amdgpu/vi.h
@@ -30,4 +30,5 @@ void vi_srbm_select(struct amdgpu_device *adev,
u32 me, u32 pipe, u32 queue, u32 vmid);
int vi_set_ip_blocks(struct amdgpu_device *adev);
+void legacy_doorbell_index_init(struct amdgpu_device *adev);
#endif