drm/amdgpu: add vm_needs_flush parameter to amdgpu_copy_buffer
authorChristian König <christian.koenig@amd.com>
Thu, 29 Jun 2017 09:46:15 +0000 (11:46 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Jul 2017 15:05:57 +0000 (11:05 -0400)
commitfc9c8f5459f2dfa7f83bee3f388faaf570ef96ed
tree549af39b8bb1671c1fd915a2d953438177165e42
parentdf264f9e08081c8c79523fd9e9f5241ed23ee7e8
drm/amdgpu: add vm_needs_flush parameter to amdgpu_copy_buffer

This allows us to flush the system VM here.

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