From: "Poosa, Karthik" <karthik.poosa@intel.com>
To: "Belgaumkar, Vinay" <vinay.belgaumkar@intel.com>,
"intel-xe@lists.freedesktop.org" <intel-xe@lists.freedesktop.org>
Cc: Matthew Auld <matthew.auld@intel.com>,
"Vivi, Rodrigo" <rodrigo.vivi@intel.com>,
"Gupta, Anshuman" <anshuman.gupta@intel.com>
Subject: Re: Fwd: [PATCH v3 1/3] drm/xe: Toggle the D3Cold enable flag at runtime resume
Date: Mon, 26 Oct 2026 21:55:42 +0530 [thread overview]
Message-ID: <ceafaf33-c6bb-4333-8a6f-bc50ed4397af@intel.com> (raw)
In-Reply-To: <6d32a45c-4090-442b-9162-63d285963350@intel.com>
>
> We enable this flag during runtime suspend, need to set it back to
> false early during resume to maintain consistency in pci driver's
> internal state. d3cold_toggle() updates the root port's ability
> to go into d3cold via the dev->no_d3cold flag. With this patch, we
> are ensuring this internal state remains consistent with that of
> the endpoint.
>
> v2: Clarify the commit message (Matt Auld)
>
> Cc: Matthew Auld <matthew.auld@intel.com>
> Signed-off-by: Vinay Belgaumkar <vinay.belgaumkar@intel.com>
Fixes tag is missing
Fixes: f026520367be ("drm/xe: Only set PCI d3cold_allowed when we are
really allowing.")
Patch looks fine.
Acked-by: Karthik Poosa <karthik.poosa@intel.com>
> ---
> drivers/gpu/drm/xe/xe_pci.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c
> index 0c13eb901aa7..d13599d79ae9 100644
> --- a/drivers/gpu/drm/xe/xe_pci.c
> +++ b/drivers/gpu/drm/xe/xe_pci.c
> @@ -1456,6 +1456,9 @@ static int xe_pci_runtime_resume(struct device *dev)
> struct xe_device *xe = pdev_to_xe_device(pdev);
> int err;
> + if (xe->d3cold.allowed)
> + d3cold_toggle(pdev, D3COLD_DISABLE);
> +
> err = pci_set_power_state(pdev, PCI_D0);
> if (err)
> return err;
> --
> 2.53.0
>
next prev parent reply other threads:[~2026-10-26 16:26 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-23 11:18 [PATCH v3 0/3] drm/xe: Some d3cold related fixes Vinay Belgaumkar
2026-10-23 11:18 ` [PATCH v3 1/3] drm/xe: Toggle the D3Cold enable flag at runtime resume Vinay Belgaumkar
[not found] ` <6d32a45c-4090-442b-9162-63d285963350@intel.com>
2026-10-26 16:25 ` Poosa, Karthik [this message]
2026-10-23 11:18 ` [PATCH v3 2/3] drm/xe: Access GT MMIO after pcode init Vinay Belgaumkar
2026-10-26 16:06 ` Poosa, Karthik
2026-10-23 11:18 ` [PATCH v3 3/3] drm/xe: Memset g2g buffer on resume Vinay Belgaumkar
2026-10-27 23:19 ` Ceraolo Spurio, Daniele
2026-10-27 23:43 ` Matthew Brost
2026-10-23 19:01 ` ✓ CI.KUnit: success for drm/xe: Some d3cold related fixes (rev3) 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=ceafaf33-c6bb-4333-8a6f-bc50ed4397af@intel.com \
--to=karthik.poosa@intel.com \
--cc=anshuman.gupta@intel.com \
--cc=intel-xe@lists.freedesktop.org \
--cc=matthew.auld@intel.com \
--cc=rodrigo.vivi@intel.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.