From: Matthew Brost <matthew.brost@intel.com>
To: "Piórkowski, Piotr" <piotr.piorkowski@intel.com>
Cc: <intel-xe@lists.freedesktop.org>,
Shuicheng Lin <shuicheng.lin@intel.com>
Subject: Re: [PATCH v1 1/1] drm/xe/guc: Don't send the multi-queue disable KLV to the media GT
Date: Thu, 3 Dec 2026 15:35:24 -0800 [thread overview]
Message-ID: <axH8vDHk3eO3Bpll@gsse-cloud1.jf.intel.com> (raw)
In-Reply-To: <20261203233242.457394-1-piotr.piorkowski@intel.com>
On Fri, Dec 04, 2026 at 12:32:42AM +0100, Piórkowski, Piotr wrote:
> From: Piotr Piórkowski <piotr.piorkowski@intel.com>
>
> When multi-queue is disabled via configfs, guc_waklv_init() adds
> GUC_FEATURE_KLV_DISABLE_MULTI_QUEUE to the ADS of every GT. Multi-queue
> is only supported on the primary GT and the media GuC rejects this KLV,
> so the GuC load fails and the probe fails:
>
> xe 0000:00:02.0: [drm] *ERROR* SIGID=104 (-EINVAL) Tile0: GT1: GUC: Load failed, GUC_STATUS=0x80007534, time = 15ms, freq = 1250MHz (req 1250MHz)
> xe 0000:00:02.0: [drm] *ERROR* Tile0: GT1: load failed: status: Reset = 0, BootROM = 0x1A, UKernel = 0x75, MIA = 0x00, Auth = 0x02
> xe 0000:00:02.0: [drm] *ERROR* Tile0: GT1: illegal workaround KLV data
> xe 0000:00:02.0: [drm] *ERROR* SIGID=101 FATAL (-EINVAL) PROBE: driver loading failed for device 'd750'
> xe 0000:00:02.0: probe with driver xe failed with error -22
> xe 0000:00:02.0: [drm] *ERROR* Tile0: GT1: GuC RC setup HOST_CONTROL(0) failed (-ENODEV)
> xe 0000:00:02.0: [drm:guc_ct_change_state [xe]] Tile0: GT1: GuC CT communication channel stopped
> xe 0000:00:02.0: [drm:guc_ct_change_state [xe]] Tile0: GT1: GuC CT communication channel disabled
> xe 0000:00:02.0: [drm] Tile0: GT1: GuC not ready after disabling idle flow (GUC_STATUS: 0x80007534)
>
> Send the KLV only to the GuC of the primary GT.
>
> Fixes: 73c5a253068e ("drm/xe/configfs: Add enable_multi_queue attribute")
> Cc: Shuicheng Lin <shuicheng.lin@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
> Signed-off-by: Piotr Piórkowski <piotr.piorkowski@intel.com>
> ---
> drivers/gpu/drm/xe/xe_guc_ads.c | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_guc_ads.c b/drivers/gpu/drm/xe/xe_guc_ads.c
> index 4b7d423e715c..d4b2b54f2027 100644
> --- a/drivers/gpu/drm/xe/xe_guc_ads.c
> +++ b/drivers/gpu/drm/xe/xe_guc_ads.c
> @@ -403,9 +403,10 @@ static void guc_waklv_init(struct xe_guc_ads *ads)
> /*
> * On GuC firmware 70.66 and above, use the Feature KLV (shared with the
> * WA KLV buffer); older firmware uses GUC_CTL_DISABLE_MULTI_QUEUE in
> - * the init params instead.
> + * the init params instead. Only the primary GT supports multi-queue.
> */
> - if (!xe_configfs_get_enable_multi_queue(to_pci_dev(gt_to_xe(gt)->drm.dev)) &&
> + if (xe_gt_is_main_type(gt) &&
> + !xe_configfs_get_enable_multi_queue(to_pci_dev(gt_to_xe(gt)->drm.dev)) &&
> GUC_FIRMWARE_VER_AT_LEAST(>->uc.guc, 70, 66)) {
> u32 data = 1;
>
> --
> 2.34.1
>
next prev parent reply other threads:[~2026-12-03 23:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-03 23:32 [PATCH v1 1/1] drm/xe/guc: Don't send the multi-queue disable KLV to the media GT Piórkowski, Piotr
2026-12-03 23:35 ` Matthew Brost [this message]
2026-12-04 0:05 ` ✗ CI.checkpatch: warning for series starting with [v1,1/1] " Patchwork
2026-12-04 0:07 ` ✓ CI.KUnit: success " Patchwork
2026-12-04 0:49 ` ✓ Xe.CI.BAT: " Patchwork
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=axH8vDHk3eO3Bpll@gsse-cloud1.jf.intel.com \
--to=matthew.brost@intel.com \
--cc=intel-xe@lists.freedesktop.org \
--cc=piotr.piorkowski@intel.com \
--cc=shuicheng.lin@intel.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