From: Mark Brown <broonie@kernel.org>
To: Alex Deucher <alexdeucher@gmail.com>
Cc: Alex Deucher <alexander.deucher@amd.com>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Linux Next Mailing List <linux-next@vger.kernel.org>,
Ruijing Dong <ruijing.dong@amd.com>
Subject: linux-next: manual merge of the amdgpu tree with the origin tree
Date: Mon, 30 Nov 2026 16:23:36 +0000 [thread overview]
Message-ID: <aw2jCHsoxg9rlXNL@sirena.org.uk> (raw)
[-- Attachment #1: Type: text/plain, Size: 2238 bytes --]
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++;
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next reply other threads:[~2026-11-30 16:23 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-30 16:23 Mark Brown [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-11-26 15:09 Mark Brown
2026-11-10 19:34 Mark Brown
2026-10-29 14:17 Mark Brown
2026-10-29 14:24 ` Alex Deucher
2026-10-29 16:45 ` Mark Brown
2026-10-28 13:28 Mark Brown
2026-10-28 13:44 ` Mark Brown
2026-09-07 22:51 Mark Brown
2026-07-29 13:28 Mark Brown
2026-07-02 16:01 Mark Brown
2026-03-03 13:09 Mark Brown
2026-02-17 13:47 Mark Brown
2024-06-17 18:37 Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aw2jCHsoxg9rlXNL@sirena.org.uk \
--to=broonie@kernel.org \
--cc=alexander.deucher@amd.com \
--cc=alexdeucher@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=ruijing.dong@amd.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®