OSDN Git Service

drm/amdgpu: sync to buffer moves before VM updates
authorChristian König <christian.koenig@amd.com>
Mon, 6 Jun 2016 08:17:58 +0000 (10:17 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Jul 2016 18:54:38 +0000 (14:54 -0400)
commit3cabaa54e7878c9b87dcbf8984c7534688330df3
tree70af7a74bba5929d7b70565cbd69012acadf2d2e
parent61ede070555395fb1c231311c35464d9cd1a8a81
drm/amdgpu: sync to buffer moves before VM updates

Otherwise we could update the VM page tables while the move is only scheduled.

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