]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Doorbell index initialization for ASICs before vega10
authorOak Zeng <ozeng@amd.com>
Mon, 19 Nov 2018 15:51:20 +0000 (09:51 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 28 Nov 2018 20:55:32 +0000 (15:55 -0500)
commit32c6146f80226d57da420fe01e56deb15a3532a5
treea1758f7aaf041e03154c5fb06ac04749e4c34893
parent6114911a5db0350c122f3da9c3569ca3df67f5a7
drm/amdgpu: Doorbell index initialization for ASICs before vega10

Initialize doorbell index for asics vi and cik

v2: Use enum definition instead of hardcoded number

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