drm/amdgpu: Call doorbell index init on device initialization
authorOak Zeng <ozeng@amd.com>
Mon, 19 Nov 2018 20:36:09 +0000 (14:36 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 28 Nov 2018 20:55:32 +0000 (15:55 -0500)
commit6585661ddd6a0a47c4d2a70e1441031c294e6de2
tree2dce75606eddfef210b76dd65271c7928d601fe1
parentc93aa77586c2ffe328cca32b40fc988bde8318b2
drm/amdgpu: Call doorbell index init on device initialization

Also call functioin amdgpu_device_doorbell_init after
amdgpu_device_ip_early_init because the former depends
on the later to set up asic-specific init_doorbell_index
function

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_device.c