drm/amdgpu: Doorbell layout for vega20 and future asic
authorOak Zeng <ozeng@amd.com>
Mon, 19 Nov 2018 21:59:53 +0000 (15:59 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 28 Nov 2018 20:55:32 +0000 (15:55 -0500)
commitc93aa77586c2ffe328cca32b40fc988bde8318b2
treea6e52fb5a450268c336c5a13fd04aaef6109ae06
parent4e2c1ac2027d1ad99109b676450db8759779222c
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>
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/vega20_reg_init.c