drm/amdgpu: fix VM flush for CPU based updates
authorChristian König <christian.koenig@amd.com>
Tue, 11 Jul 2017 14:59:21 +0000 (16:59 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Jul 2017 15:06:42 +0000 (11:06 -0400)
commit6f1ceabbd7091b81139e342fc2b08105bc4fa035
treed364160853b13354ab4a173739bb2b5e51e99507
parentfd971375411542f9d81111bb081e58727eb09138
drm/amdgpu: fix VM flush for CPU based updates

We don't have any update fence in that case, so the need
for flushing isn't detected automatically.

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