drm/amdgpu: don't use ttm_bo_move_ttm in amdgpu_ttm_bind v2
authorChristian König <christian.koenig@amd.com>
Thu, 26 Oct 2017 15:54:12 +0000 (17:54 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 4 Dec 2017 21:41:44 +0000 (16:41 -0500)
commit40575732b6a2ad6430ad8056dabe4cdc01224534
treee261091ea93e08800f4dad59ccc8333efc3a0a84
parentc5835bbb1195996c6c5bf2bf2cdbae08c936fc93
drm/amdgpu: don't use ttm_bo_move_ttm in amdgpu_ttm_bind v2

Just allocate the GART space and fill it.

This prevents forcing the BO to be idle.

v2: don't unbind/bind at all, just fill the allocated GART space

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c