Commit 629be203 authored by Christian König's avatar Christian König Committed by Alex Deucher
Browse files

drm/amdgpu: use moving fence instead of exclusive for VM updates



Make VM updates depend on the moving fence instead of the exclusive one.

Makes it less likely to actually have a dependency.

Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
Reviewed-by: default avatarChunming Zhou <david1.zhou@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent faa695c7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1706,7 +1706,7 @@ int amdgpu_vm_bo_update(struct amdgpu_device *adev,
			ttm = container_of(bo->tbo.ttm, struct ttm_dma_tt, ttm);
			pages_addr = ttm->dma_address;
		}
		exclusive = dma_resv_get_excl(bo->tbo.base.resv);
		exclusive = bo->tbo.moving;
	}

	if (bo) {