drm/amdgpu: Add per device sdma_doorbell_range field
authorOak Zeng <Oak.Zeng@amd.com>
Tue, 18 Dec 2018 01:42:58 +0000 (19:42 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 25 Jan 2019 21:15:34 +0000 (16:15 -0500)
commitfd4855409f6ebe015406cd2b2ffa4fee4cd1f4a7
tree1d1085140b0476a064c10907b62b65b00d1ad724
parent1f46df61a148da7263165079b4874d61525c8ae1
drm/amdgpu: Add per device sdma_doorbell_range field

Different ASIC has different sdma doorbell range. Add
a per device sdma_doorbell_range field and initialize
it.

Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
Reviewed-by: Philip Yang <Philip.Yang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_doorbell.h
drivers/gpu/drm/amd/amdgpu/vega10_reg_init.c
drivers/gpu/drm/amd/amdgpu/vega20_reg_init.c