drm/amdgpu: only update last_flush when vmid doesn't have other new owner
authorChunming Zhou <David1.Zhou@amd.com>
Thu, 14 Apr 2016 05:42:32 +0000 (13:42 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 May 2016 00:22:55 +0000 (20:22 -0400)
commit68befebee4927036b0f350825a20d46104f375b5
treeb848b169f36b3207cf20a58200e6ee3fe635180b
parent66067ad73c384a1780421e48a72a69b393359aa7
drm/amdgpu: only update last_flush when vmid doesn't have other new owner

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