From: Riana Tauro <riana.tauro@intel.com>
To: Vinay Belgaumkar <vinay.belgaumkar@intel.com>,
<intel-xe@lists.freedesktop.org>
Subject: Re: [PATCH] drm/xe: Don't disable GuCRC in suspend path
Date: Fri, 6 Mar 2026 10:26:25 +0530 [thread overview]
Message-ID: <a9948086-90f0-4ac7-a5d3-ff3e0ed75264@intel.com> (raw)
In-Reply-To: <20260303181416.3880937-1-vinay.belgaumkar@intel.com>
Hi Vinay
On 3/3/2026 11:44 PM, Vinay Belgaumkar wrote:
> GuCRC should not be disabled in xe_guc_stop_prepare() as C6 is a
> prerequisite for s0ix and s2idle. This is a regression caused by
> the patch below.
I thought since it's used in xe_uc_stop_prepare. It should've been fine.
But I remember this issue now where gucrc shouldn't be disabled during
suspend.
>
> Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/7510
> Fixes: 40a684f91d26 ("drm/xe: Decouple GuC RC code from xe_guc_pc")
> Cc: Riana Tauro <riana.tauro@intel.com>
> Signed-off-by: Vinay Belgaumkar <vinay.belgaumkar@intel.com>
> ---
> drivers/gpu/drm/xe/xe_gt.c | 2 ++
> drivers/gpu/drm/xe/xe_guc.c | 1 -
> 2 files changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_gt.c b/drivers/gpu/drm/xe/xe_gt.c
> index b455af1e6072..f3bb856aad2a 100644
> --- a/drivers/gpu/drm/xe/xe_gt.c
> +++ b/drivers/gpu/drm/xe/xe_gt.c
> @@ -38,6 +38,7 @@
> #include "xe_gt_topology.h"
> #include "xe_guc_exec_queue_types.h"
> #include "xe_guc_pc.h"
> +#include "xe_guc_rc.h"
> #include "xe_guc_submit.h"
> #include "xe_hw_fence.h"
> #include "xe_hw_engine_class_sysfs.h"
> @@ -896,6 +897,7 @@ static void gt_reset_worker(struct work_struct *w)
> if (IS_SRIOV_PF(gt_to_xe(gt)))
> xe_gt_sriov_pf_stop_prepare(gt);
>
> + xe_guc_rc_disable(>->uc.guc);
Do you think we need it in gt_reset. Though i had retained it in my
initial patch since it was part of uc_stop
But i think it should be safer since we restart post gt_reset
Sorry for having missed this during review. Even i didn't recall this issue
Reviewed-by: Riana Tauro <riana.tauro@intel.com>
> xe_uc_stop_prepare(>->uc);
> xe_pagefault_reset(gt_to_xe(gt), gt);
>
> diff --git a/drivers/gpu/drm/xe/xe_guc.c b/drivers/gpu/drm/xe/xe_guc.c
> index 54d2fc780127..e75653a5e797 100644
> --- a/drivers/gpu/drm/xe/xe_guc.c
> +++ b/drivers/gpu/drm/xe/xe_guc.c
> @@ -1671,7 +1671,6 @@ void xe_guc_stop_prepare(struct xe_guc *guc)
> if (!IS_SRIOV_VF(guc_to_xe(guc))) {
> int err;
>
> - xe_guc_rc_disable(guc);
> err = xe_guc_pc_stop(&guc->pc);
> xe_gt_WARN(guc_to_gt(guc), err, "Failed to stop GuC PC: %pe\n",
> ERR_PTR(err));
next prev parent reply other threads:[~2026-03-06 4:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-03 18:14 [PATCH] drm/xe: Don't disable GuCRC in suspend path Vinay Belgaumkar
2026-03-03 18:24 ` ✓ CI.KUnit: success for " Patchwork
2026-03-03 19:01 ` ✓ Xe.CI.BAT: " Patchwork
2026-03-04 6:36 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-03-06 4:56 ` Riana Tauro [this message]
2026-03-06 17:41 ` [PATCH] " Belgaumkar, Vinay
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=a9948086-90f0-4ac7-a5d3-ff3e0ed75264@intel.com \
--to=riana.tauro@intel.com \
--cc=intel-xe@lists.freedesktop.org \
--cc=vinay.belgaumkar@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