Hi all, Today's linux-next merge of the amdgpu tree got a conflict in: drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c between commit: 4da6437456f0c ("drm/amdgpu: keep the commit padding when re-emitting submissions") from the origin tree and commit: b9347fa729b64 ("Revert "drm/amdgpu: reemit RLC SPM register in ring reemit"") from the amdgpu tree. I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts. diff --combined drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c index b9f5b643a8306,faeaa65355eab..0000000000000 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c @@@ -112,7 -112,7 +112,7 @@@ void amdgpu_fence_emit(struct amdgpu_ri seq = ++ring->fence_drv.sync_seq; dma_fence_init(fence, &amdgpu_fence_ops, &ring->fence_drv.lock, - adev->fence_context + ring->idx, seq); + adev->fence_context + ring->idx, seq, 0); amdgpu_ring_emit_fence(ring, ring->fence_drv.gpu_addr, seq, flags | AMDGPU_FENCE_FLAG_INT); @@@ -715,9 -715,6 +715,6 @@@ void amdgpu_fence_driver_force_completi void amdgpu_ring_set_fence_errors_and_reemit(struct amdgpu_ring *ring, struct amdgpu_fence *guilty_fence) { - bool emit_spm_needed = ring->adev->gfx.rlc.funcs->update_spm_vmid && - (ring->funcs->type == AMDGPU_RING_TYPE_COMPUTE || - ring->funcs->type == AMDGPU_RING_TYPE_GFX); struct dma_fence *unprocessed; struct dma_fence __rcu **ptr; struct amdgpu_fence *fence; @@@ -750,9 -747,6 +747,6 @@@ ring->reemit = true; amdgpu_ring_alloc(ring, ring->ring_backup_entries_to_copy + (seq - last_seq) * ring->funcs->align_mask); - if (emit_spm_needed) - ring->adev->gfx.rlc.funcs->update_spm_vmid(ring->adev, ring->xcc_id, - ring->adev->vm_manager.spm_vmid); spin_lock_irqsave(&ring->fence_drv.lock, flags); do { last_seq++;