]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amdgpu: Use sdma_engine array
authorOak Zeng <Oak.Zeng@amd.com>
Mon, 17 Dec 2018 15:37:39 +0000 (09:37 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 14 Jan 2019 20:04:30 +0000 (15:04 -0500)
commit898e0d9d405158d13cb1afa192c51ce94746d537
treec5ad17f266d8074f690a54fa27d935c150eb4c60
parenta363553cf0339d26f049d870915177706021132f
drm/amdgpu: Use sdma_engine array

Use sdma_engine[8] array instead of sdma_engine0~7 so it is easier
to program.

Signed-off-by: Oak Zeng <Oak.Zeng@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_amdkfd.c
drivers/gpu/drm/amd/amdgpu/amdgpu_doorbell.h
drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
drivers/gpu/drm/amd/amdgpu/vega10_reg_init.c
drivers/gpu/drm/amd/amdgpu/vega20_reg_init.c
drivers/gpu/drm/amd/amdgpu/vi.c