public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel•org>
To: Dave Airlie <airlied@redhat•com>, DRI <dri-devel@lists•freedesktop.org>
Cc: Alex Deucher <alexander.deucher@amd•com>,
	Jack Xiao <Jack.Xiao@amd•com>,
	Linux Kernel Mailing List <linux-kernel@vger•kernel.org>,
	Linux Next Mailing List <linux-next@vger•kernel.org>
Subject: linux-next: manual merge of the drm tree with the drm-fixes tree
Date: Fri, 30 Jan 2026 15:28:38 +0000	[thread overview]
Message-ID: <aXzOJoJ6zhgtFL5u@sirena.org.uk> (raw)

[-- Attachment #1: Type: text/plain, Size: 3625 bytes --]

Hi all,

Today's linux-next merge of the drm tree got conflicts in:

  drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
  drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c

between commits:

  3eb46fbb601f9 ("drm/amdgpu/gfx11: adjust KGQ reset sequence")
  dfd64f6e8cd7b ("drm/amdgpu/gfx12: adjust KGQ reset sequence")

from the drm-fixes tree and commit:

  d09c7e266c8cd ("drm/amdgpu/mes: add multi-xcc support")

from the drm 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 --cc drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
index e642236ea2c51,3a4ca104b1612..0000000000000
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
@@@ -6828,7 -6832,7 +6833,7 @@@ static int gfx_v11_0_reset_kgq(struct a
  
  	amdgpu_ring_reset_helper_begin(ring, timedout_fence);
  
- 	r = amdgpu_mes_reset_legacy_queue(ring->adev, ring, vmid, use_mmio);
 -	r = amdgpu_mes_reset_legacy_queue(ring->adev, ring, vmid, false, 0);
++	r = amdgpu_mes_reset_legacy_queue(ring->adev, ring, vmid, use_mmio, 0);
  	if (r) {
  
  		dev_warn(adev->dev, "reset via MES failed and try pipe reset %d\n", r);
@@@ -6837,18 -6841,16 +6842,18 @@@
  			return r;
  	}
  
 -	r = gfx_v11_0_kgq_init_queue(ring, true);
 -	if (r) {
 -		dev_err(adev->dev, "failed to init kgq\n");
 -		return r;
 -	}
 +	if (use_mmio) {
 +		r = gfx_v11_0_kgq_init_queue(ring, true);
 +		if (r) {
 +			dev_err(adev->dev, "failed to init kgq\n");
 +			return r;
 +		}
  
- 		r = amdgpu_mes_map_legacy_queue(adev, ring);
 -	r = amdgpu_mes_map_legacy_queue(adev, ring, 0);
 -	if (r) {
 -		dev_err(adev->dev, "failed to remap kgq\n");
 -		return r;
++		r = amdgpu_mes_map_legacy_queue(adev, ring, 0);
 +		if (r) {
 +			dev_err(adev->dev, "failed to remap kgq\n");
 +			return r;
 +		}
  	}
  
  	return amdgpu_ring_reset_helper_end(ring, timedout_fence);
diff --cc drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c
index 4aab89a9ab401,40660b05f9794..0000000000000
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c
@@@ -5302,7 -5296,7 +5297,7 @@@ static int gfx_v12_0_reset_kgq(struct a
  
  	amdgpu_ring_reset_helper_begin(ring, timedout_fence);
  
- 	r = amdgpu_mes_reset_legacy_queue(ring->adev, ring, vmid, use_mmio);
 -	r = amdgpu_mes_reset_legacy_queue(ring->adev, ring, vmid, false, 0);
++	r = amdgpu_mes_reset_legacy_queue(ring->adev, ring, vmid, use_mmio, 0);
  	if (r) {
  		dev_warn(adev->dev, "reset via MES failed and try pipe reset %d\n", r);
  		r = gfx_v12_reset_gfx_pipe(ring);
@@@ -5310,18 -5304,16 +5305,18 @@@
  			return r;
  	}
  
 -	r = gfx_v12_0_kgq_init_queue(ring, true);
 -	if (r) {
 -		dev_err(adev->dev, "failed to init kgq\n");
 -		return r;
 -	}
 +	if (use_mmio) {
 +		r = gfx_v12_0_kgq_init_queue(ring, true);
 +		if (r) {
 +			dev_err(adev->dev, "failed to init kgq\n");
 +			return r;
 +		}
  
- 		r = amdgpu_mes_map_legacy_queue(adev, ring);
 -	r = amdgpu_mes_map_legacy_queue(adev, ring, 0);
 -	if (r) {
 -		dev_err(adev->dev, "failed to remap kgq\n");
 -		return r;
++		r = amdgpu_mes_map_legacy_queue(adev, ring, 0);
 +		if (r) {
 +			dev_err(adev->dev, "failed to remap kgq\n");
 +			return r;
 +		}
  	}
  
  	return amdgpu_ring_reset_helper_end(ring, timedout_fence);

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

             reply	other threads:[~2026-01-30 15:28 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-30 15:28 Mark Brown [this message]
  -- strict thread matches above, loose matches on Subject: below --
2026-05-29 22:00 linux-next: manual merge of the drm tree with the drm-fixes tree Mark Brown
2026-04-03 13:33 Mark Brown
2026-03-27 20:52 Mark Brown
2026-03-27 20:46 Mark Brown
2026-03-09 14:35 Mark Brown
2026-03-06 13:47 Mark Brown
2026-03-06 13:47 Mark Brown
2026-01-30 15:37 Mark Brown
2026-01-23 17:45 Mark Brown
2025-06-27  2:58 Stephen Rothwell
2024-10-18  1:56 Stephen Rothwell
2024-06-27 15:08 Mark Brown
2024-06-27 15:00 Mark Brown
2024-06-21 13:21 Mark Brown
2023-08-18  1:53 Stephen Rothwell
2023-02-13  0:23 Stephen Rothwell
2022-09-26 17:49 broonie
2022-02-25 16:37 broonie
2022-02-24 16:33 broonie
2021-08-06 12:04 Mark Brown
2021-08-10 11:56 ` Geert Uytterhoeven
2021-08-10 12:53   ` Stephen Rothwell
2020-07-10  2:28 Stephen Rothwell
2019-08-23  3:20 Stephen Rothwell
2019-07-05  2:50 Stephen Rothwell
2019-03-01  2:23 Stephen Rothwell
2019-03-01 23:29 ` Alex Deucher
2019-03-04  0:54   ` Stephen Rothwell
2019-03-11 12:36     ` Daniel Vetter
2018-12-14  1:51 Stephen Rothwell
2018-12-07  2:38 Stephen Rothwell
2018-12-07  2:31 Stephen Rothwell

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=aXzOJoJ6zhgtFL5u@sirena.org.uk \
    --to=broonie@kernel$(echo .)org \
    --cc=Jack.Xiao@amd$(echo .)com \
    --cc=airlied@redhat$(echo .)com \
    --cc=alexander.deucher@amd$(echo .)com \
    --cc=dri-devel@lists$(echo .)freedesktop.org \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-next@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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