From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796055821; b=fn+pIO5x4AGv/uSRRKC0Gyqha9eE8t2HbD64F2q1mG0gt1XUFHX+vsZh39GWAn+6ahhX PM/YgANpgfJTpLVXkScJuw9A3+8/IU2lwPjVjihGE+yi3KWYy6PhtzbVPcN03f2JuNpdE VaD8FyYgokazn4R/e3UWlGQh7l9YZH0ISe4o3hzvc96TVhCITub0eyUn26PYpK7WUVhDB Lgf+exmam15eTL8gQVX0QWnx+ulBWsBOUuAVk/G+VtKefDOgyIS5f3yFMzUuiYjYAv88S rdceUN90BgibFQ0Tmmqy1AjjqaogQ2G3Lqy8PHAMtG5ZEKG6OgUrvMRqE0OlIP2+90Q== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796055821; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: MIME-Version:Content-Type:Content-Disposition; bh=D4ADlHjyheRfRQDeIIEMLhj9iVFlVLgI97CRnTaBqwQ=; b=EbI69z12YnXM/P3twMzFxwroZ4PH8pcrGTIdOBqSB6Xk2bfJ3yToQNnfx1MFIBS4ng6/ pXg+m02njkz69AVZ44Vwc1/PG78El7hAvT2dTdi4kVJB+mtvXWS8v9+NGHkEPXJiWNO9N dDXhnqT2liBo1GtJ8iIkRAJb0x/N89ekRenmokYSgUbTepKR3Kcb24ORLgRqNcsXTvVnQ YhlBhrzELM1OL7oS6JzJxsppKuzyFrZjuCrx4nsd3y+uwrsNz95FqGJ0+d9VCqhII+PLZ tO+Gq3KWfMvbD56ODfRL55h1WEgmorRb1brEBbb224mHDORnP/w9Gvg62A2nhAU46YA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=BCx7H8sZ; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 45D27606A31C; Mon, 30 Nov 2026 16:23:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=BCx7H8sZ Received: by smtp.kernel.org (Postfix) with ESMTPSA id 581FB1F0089A; Mon, 30 Nov 2026 16:23:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796055820; bh=D4ADlHjyheRfRQDeIIEMLhj9iVFlVLgI97CRnTaBqwQ=; h=Date:From:To:Cc:Subject; b=BCx7H8sZfL2VPU78rrTYFU6vE65bEWCPlNWioUwR5O2J6T5Nlq0iJPmenddMIvpiZ Yi6ipdJuUrP9j7foxGtm+qBY7kEfmNZ6LLMNKONdHg71JboMofVt6Wrxmf5w2CZWhj DoKm6cUgp5K5fLUArseNYBERmDHfg28hcGWcQTZGJHuGS6BuWnAm/awO4nYyVln+nO I5D3lItRhQ6v2QLmmpZjJCLMQ4/XBCASNvgfRGdfVJtm+ggIIsw0Hseku1hqIfL3CS W8RZjCWGWn/vvBaAN5WB+Qyam23QGWJD7QbFKnlDEbUObsker1hHuPETJKzZ9klDAi NhLaw6F5eiCdQ== Date: Mon, 30 Nov 2026 16:23:36 +0000 From: Mark Brown To: Alex Deucher Cc: Alex Deucher , Linux Kernel Mailing List , Linux Next Mailing List , Ruijing Dong Subject: linux-next: manual merge of the amdgpu tree with the origin tree Message-ID: X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="G1N6fbhl19c6Ip2R" Content-Disposition: inline --G1N6fbhl19c6Ip2R Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 subm= issions") =66rom the origin tree and commit: b9347fa729b64 ("Revert "drm/amdgpu: reemit RLC SPM register in ring reemi= t"") =66rom 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 =3D ++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); =20 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 =3D ring->adev->gfx.rlc.funcs->update_spm_vmid && - (ring->funcs->type =3D=3D AMDGPU_RING_TYPE_COMPUTE || - ring->funcs->type =3D=3D 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 =3D 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++; --G1N6fbhl19c6Ip2R Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmsNowcACgkQJNaLcl1U h9CNVQf/UUK2ahE76a4XDCNWzOa2S12jmbuPdALQ+QRaEstQg1xImlGb48SvI46u tIr6MWVBIpz4Un8dF47KylZIF0yq4YzjXrVt2jRfaq/uGMJOD/0xzw8ldLG9pyYT bapW/zfI2QrrCuNkjl0gjRmZX+PyOiT1QQEg134uFS/LDMNPr215VWvyxPnNhxvm p0Z1PrQJQ/n0ODMIUSTDTj1s6lVJ51MhIEFFS+AbQgkS6i3fnY1m7u7X5Z8B6v29 ZbsjWcHvbLEmFrWTxTqdnmPqmkg1VDeI9MujnPM+d2fUo4vRnIfIE5D8EO+tDxA/ sboKrM4QKaGgRFqVL6cF7oCviPSCWg== =HvsW -----END PGP SIGNATURE----- --G1N6fbhl19c6Ip2R--