OSDN Git Service

drm/amdgpu: move setting the GART addr into TTM
authorChristian König <christian.koenig@amd.com>
Tue, 21 Aug 2018 14:47:01 +0000 (16:47 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 16:11:18 +0000 (11:11 -0500)
commitcbd528514276dce3a8057cff18ef328c35b49d95
tree2db7805645f7fd68440ba8df2d1077f21283d9b1
parent9a02ece43ee49efdfad19a3ca90c02d20f491031
drm/amdgpu: move setting the GART addr into TTM

Move setting the GART addr for window based copies into the TTM code who
uses it.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c