aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/soc15.h
diff options
context:
space:
mode:
authorOak Zeng <ozeng@amd.com>2018-11-19 15:59:53 -0600
committerAlex Deucher <alexander.deucher@amd.com>2018-11-28 15:55:32 -0500
commitc93aa77586c2ffe328cca32b40fc988bde8318b2 (patch)
treea6e52fb5a450268c336c5a13fd04aaef6109ae06 /drivers/gpu/drm/amd/amdgpu/soc15.h
parentdrm/amdgpu: Doorbell index initialization for ASICs before vega10 (diff)
downloadlinux-dev-c93aa77586c2ffe328cca32b40fc988bde8318b2.tar.xz
linux-dev-c93aa77586c2ffe328cca32b40fc988bde8318b2.zip
drm/amdgpu: Doorbell layout for vega20 and future asic
This introduces new doorbell layout for vega20 and future asics v2: Use enum definition instead of hardcoded value 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/soc15.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/soc15.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.h b/drivers/gpu/drm/amd/amdgpu/soc15.h
index d37c57d09976..a66c8bfbbaa6 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc15.h
+++ b/drivers/gpu/drm/amd/amdgpu/soc15.h
@@ -59,4 +59,5 @@ int vega10_reg_base_init(struct amdgpu_device *adev);
int vega20_reg_base_init(struct amdgpu_device *adev);
void vega10_doorbell_index_init(struct amdgpu_device *adev);
+void vega20_doorbell_index_init(struct amdgpu_device *adev);
#endif