From: "Hogander, Jouni" <jouni.hogander@intel.com>
To: "intel-xe@lists.freedesktop.org" <intel-xe@lists.freedesktop.org>,
"intel-gfx@lists.freedesktop.org"
<intel-gfx@lists.freedesktop.org>,
"Govindapillai, Vinod" <vinod.govindapillai@intel.com>
Subject: Re: [PATCH v8 3/5] drm/i915/xe: plug the pme_enabed implementation for xe
Date: Tue, 15 Sep 2026 12:39:15 +0000 [thread overview]
Message-ID: <16773df0039d010c34b6281676923b6a45e2d045.camel@intel.com> (raw)
In-Reply-To: <20260915092518.639448-4-vinod.govindapillai@intel.com>
On Tue, 2026-09-15 at 12:25 +0300, Vinod Govindapillai wrote:
> Plug the pme_enabled query for xe. It will return the current
> PME status for the device. For supported platforms, PME is
> enabled during runtime suspend calls if the device is PME is capable.
>
> v2: use the xe_pm_pme_enabled()
>
> Assisted-by: GitHub_Copilot:claude-opus-5
> Signed-off-by: Vinod Govindapillai <vinod.govindapillai@intel.com>
Reviewed-by: Jouni Högander <jouni.hogander@intel.com>
> ---
> drivers/gpu/drm/xe/display/xe_display_rpm.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/drivers/gpu/drm/xe/display/xe_display_rpm.c
> b/drivers/gpu/drm/xe/display/xe_display_rpm.c
> index 548b503aa024..57bcfb41bdda 100644
> --- a/drivers/gpu/drm/xe/display/xe_display_rpm.c
> +++ b/drivers/gpu/drm/xe/display/xe_display_rpm.c
> @@ -45,6 +45,11 @@ static bool xe_display_rpm_suspended(const struct
> drm_device *drm)
> return pm_runtime_suspended(xe->drm.dev);
> }
>
> +static bool xe_display_rpm_pme_enabled(const struct drm_device *drm)
> +{
> + return xe_pm_pme_enabled(to_xe_device(drm));
> +}
> +
> static void xe_display_rpm_assert_held(const struct drm_device *drm)
> {
> /* FIXME */
> @@ -69,6 +74,7 @@ const struct intel_display_rpm_interface
> xe_display_rpm_interface = {
> .put_raw = xe_display_rpm_put,
> .put_unchecked = xe_display_rpm_put_unchecked,
> .suspended = xe_display_rpm_suspended,
> + .pme_enabled = xe_display_rpm_pme_enabled,
> .assert_held = xe_display_rpm_assert_held,
> .assert_block = xe_display_rpm_assert_block,
> .assert_unblock = xe_display_rpm_assert_unblock
next prev parent reply other threads:[~2026-09-15 12:39 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-15 9:25 [PATCH v8 0/5] pm_pme support on display hotplug Vinod Govindapillai
2026-09-15 9:25 ` [PATCH v8 1/5] drm/xe/pm: introduce PM PME support Vinod Govindapillai
2026-09-15 12:27 ` Hogander, Jouni
2026-09-16 14:16 ` Rodrigo Vivi
2026-09-15 9:25 ` [PATCH v8 2/5] drm/i915: add pme_enabled() to the parent interface Vinod Govindapillai
2026-09-15 12:38 ` Hogander, Jouni
2026-09-15 9:25 ` [PATCH v8 3/5] drm/i915/xe: plug the pme_enabed implementation for xe Vinod Govindapillai
2026-09-15 12:39 ` Hogander, Jouni [this message]
2026-09-15 9:25 ` [PATCH v8 4/5] drm/i915/irq: conditional HPD IRQ resets based on PME capability Vinod Govindapillai
2026-09-15 9:43 ` sashiko-bot
2026-09-15 12:55 ` Hogander, Jouni
2026-09-15 9:25 ` [PATCH v8 5/5] drm/i915/hotplug: avoid HPD polling if the device is PME capable Vinod Govindapillai
2026-09-15 12:55 ` Hogander, Jouni
2026-09-15 11:01 ` ✓ i915.CI.BAT: success for pm_pme support on display hotplug (rev8) Patchwork
2026-09-15 17:10 ` ✗ i915.CI.Full: failure " 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=16773df0039d010c34b6281676923b6a45e2d045.camel@intel.com \
--to=jouni.hogander@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
--cc=vinod.govindapillai@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