drm/amdgpu: move sdma definitions into amdgpu_sdma header
authorHuang Rui <ray.huang@amd.com>
Thu, 2 Aug 2018 09:23:33 +0000 (17:23 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 16:09:55 +0000 (11:09 -0500)
commitbb7743bc205177440ba98eca2359779ba943e03b
treea7b44c1f5a4a0971c49478479998a1c8fc545418
parentaa47d117282cc32874e2749ce8ae94262b9edddf
drm/amdgpu: move sdma definitions into amdgpu_sdma header

Demangle amdgpu.h.
Furthermore, SDMA is used for moving and clearing the data buffer, so the header
also need be included in ttm.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/Makefile
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c [new file with mode: 0644]
drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h [new file with mode: 0644]
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c