drm/amdgpu: reorganize sdma v4 code to support more instances
authorLe Ma <le.ma@amd.com>
Wed, 5 Sep 2018 08:21:20 +0000 (16:21 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jul 2019 19:18:02 +0000 (14:18 -0500)
commit667a48226edfbf4b0b8d1b61255105918fea4af7
tree8b74eb96e85f8069ec626e7154f1ab2cbe470877
parent51c608984fd5eed89bb9a8bd49133cde405892da
drm/amdgpu: reorganize sdma v4 code to support more instances

This change is needed for Arcturus which has 8 sdma instances.
The CG/PG part is not covered for now.

Signed-off-by: Le Ma <le.ma@amd.com>
Acked-by: Snow Zhang < Snow.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c