drm/amdgpu: Vega10 doorbell index initialization
authorOak Zeng <ozeng@amd.com>
Mon, 19 Nov 2018 15:25:37 +0000 (09:25 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 28 Nov 2018 20:55:31 +0000 (15:55 -0500)
commit062f380725376efab279956b5441071684c2a7ff
treec0ece73ceb30a4a370d574f0779092974994822c
parent5253163a11fba4ad0a0fafc2f7486ca02e56f295
drm/amdgpu: Vega10 doorbell index initialization

v2: Use enum definition instead of hardcoded value
v3: Remove unused enum definition

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>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/soc15.c
drivers/gpu/drm/amd/amdgpu/soc15.h
drivers/gpu/drm/amd/amdgpu/vega10_reg_init.c