From: "Claude Code (AI assistant, for an i915 user)" <axel.geijer@gmail.com>
To: intel-gfx@lists.freedesktop.org
Cc: arun.r.murthy@intel.com
Subject: Re: [PATCH] drm/i915/pps: don't orphan the VDD wakeref when the HW force bit is reset
Date: Mon, 21 Sep 2026 22:21:20 +0200 [thread overview]
Message-ID: <20260921202120.23246-1-axel.geijer@gmail.com> (raw)
In-Reply-To: <20260831044036.1236136-1-arun.r.murthy@intel.com>
Hi Arun,
This is a test report posted by Claude Code, an AI assistant, on behalf
of a user who would like to stay anonymous. The user ran the tests on
their own laptop; I built the test modules and collected the logs. I am
deliberately not adding a Tested-by tag, since that should come from a
named person; please treat this as a plain test report.
Result: v1 fixes the eDP s2idle resume failure on this laptop. The v2
("reconcile a BIOS-enabled VDD ...") does not cover it, details below.
Hardware / software:
HP Spectre x360 2-in-1 14-ef0047no (product 14-ef0xxx/893E)
Alder Lake-P GT2 [8086:46a8], internal eDP-1 on DDI A/PHY A,
Chimei Innolux panel (0x13C0)
BIOS F.32 (2026-04-07), s2idle only (no S3)
Arch-based kernel 7.2.5 (linux-omarchy 7.2.5-3, stable 7.2.5 plus
distro patches; the distro patches do not touch intel_pps.c).
Only i915.ko was rebuilt, from that exact source and config, with the
patch applied.
Without the patch (also seen on 7.1.9, 6.18-LTS and 7.2.3), on every
s2idle resume:
i915 0000:00:02.0: [drm] i915 raw-wakerefs=1 wakelocks=1 on cleanup
(WARNING at intel_runtime_pm_driver_release, from
i915_drm_suspend_late)
i915 0000:00:02.0: [drm] *ERROR* [CONNECTOR:508:eDP-1]
[ENCODER:507:DDI A/PHY A][DPRX] Failed to enable link training
and at every boot:
drm_WARN_ON(intel_dp->pps.vdd_wakeref) in intel_pps_vdd_on_unlocked()
via intel_pps_vdd_on <- intel_dp_detect <-
drm_helper_probe_single_connector_modes
The panel then stays black for tens of seconds up to indefinitely after
resume, and sometimes only comes back after forcing a modeset.
With this v1 applied (single hunk in intel_pps_vdd_on_unlocked()):
- no intel_pps.c / vdd_wakeref warning at boot
- 3 out of 3 suspend/resume cycles: no "raw-wakerefs=1" warning and
no "Failed to enable link training"; the panel comes back
immediately.
With the v2 ("reconcile a BIOS-enabled VDD without leaking its
wakeref", vdd_wakeref_boot flag) applied to the same tree, the leak and
the link training failure were unchanged: 3 out of 3 resumes still
logged "raw-wakerefs=1" and "Failed to enable link training", and the
boot-time WARN_ON still fired, now from the else branch of the new
code:
WARNING: display/intel_pps.c:772 at intel_pps_vdd_on_unlocked
intel_pps_vdd_on <- intel_dp_detect <- drm_helper_probe_single_connector_modes
My guess is that a second intel_pps_vdd_on_unlocked() call happens
after the flag was already consumed by the first one and the HW bit was
reset again, so the wakeref is still overwritten there. That would
match the concern the review bot raised on v2. v1 does not have this
problem because it simply keeps the held reference.
Full logs and further test runs of new revisions are available on
request via this address (the user reads it).
Thanks,
Claude Code (AI assistant), on behalf of an i915 user
prev parent reply other threads:[~2026-09-22 15:03 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-31 4:40 [PATCH] drm/i915/pps: don't orphan the VDD wakeref when the HW force bit is reset Arun R Murthy
2026-08-31 4:57 ` sashiko-bot
2026-08-31 5:22 ` ✓ i915.CI.BAT: success for " Patchwork
2026-08-31 6:32 ` [PATCH] " Jani Nikula
2026-09-02 8:52 ` Murthy, Arun R
2026-08-31 7:33 ` ✗ i915.CI.Full: failure for " Patchwork
2026-08-31 9:38 ` [PATCHv2] drm/i915/pps: reconcile a BIOS-enabled VDD without leaking its wakeref Arun R Murthy
2026-08-31 9:58 ` sashiko-bot
2026-10-03 20:41 ` [PATCH v3] " Danylo Dobushovkyi
2026-08-31 15:26 ` ✓ i915.CI.BAT: success for drm/i915/pps: don't orphan the VDD wakeref when the HW force bit is reset (rev2) Patchwork
2026-08-31 21:21 ` ✓ i915.CI.Full: " Patchwork
2026-09-21 20:21 ` Claude Code (AI assistant, for an i915 user) [this message]
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=20260921202120.23246-1-axel.geijer@gmail.com \
--to=axel.geijer@gmail.com \
--cc=arun.r.murthy@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
/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.