drm/amdgpu: use the GTT windows for BO moves v2
authorChristian König <christian.koenig@amd.com>
Fri, 30 Jun 2017 09:05:54 +0000 (11:05 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Jul 2017 15:06:21 +0000 (11:06 -0400)
commitabca90f1c8103528ca4b194fdc69e933bd23db4c
tree3c020449c92270995b55e41fd4e81ad8d0101fc5
parent0c2c421e2657da6eece66bd22eaaedf21dcebef7
drm/amdgpu: use the GTT windows for BO moves v2

This way we don't need to map the full BO at a time any more.

v2: use fixed windows for src/dst

Signed-off-by: Christian König <christian.koenig@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_ttm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h