Skip to content

drm/apple: tell the PM core no VT switch is needed for system sleep - #912

Merged
RyanTheTide merged 1 commit into
aurora-silicon:integration/aurorafrom
AxxzyWasTaken:apple-drm-no-vt-switch
Nov 5, 2026
Merged

RyanTheTide merged 1 commit into
aurora-silicon:integration/aurorafrom
AxxzyWasTaken:apple-drm-no-vt-switch

Conversation

@AxxzyWasTaken

Copy link
Copy Markdown
Contributor

On every suspend and resume the PM core switches to the text console first, which flashes the kernel log on the panel for a moment. The display driver restores its own state across system sleep, so it doesn't need that. This tells the PM core so with pm_vt_switch_required(dev, false) once the component master is added, and unregisters on remove.

Tested on a J616C (M4 Max) with sddm and Hyprland: s2idle suspend/resume, no console flash, the desktop comes back as before. Running daily since 21 Oct (7.2.10 J616C tree); applies to integration/aurora unchanged.

The display restores its own state across suspend, so switching to the
text console first only flashes the kernel log on every suspend/resume.

Signed-off-by: AxxzyWasTaken <axxzytte@gmail.com>
@RyanTheTide

Copy link
Copy Markdown
Contributor

Merge train (MTL, 06/11). Gates passed on test tree 0412501d (integration/aurora 2661d71 + this batch):

  • Signed-off-by from the author on every commit. Adversarial review done.
  • W=1 on the touched objects: 0 new warnings. KUnit: drm/apple 112/113 (1 skip), hid 19/19, SEP 158/163 (the 4 known apple_sep_host_store failures, profile tests all pass). dt_binding_check clean. apple-dcp host selftests 86/86, run-host-tests at base parity (with Merge train: G17 hang confinement (#928) plus its host-test fixture #989's fixture).
  • Regression boots of 7.3.0-aurora-mtl1106a, compared with the fleet16/fleet17 rows: M2, M1 Pro, J700 and J616s all clean (0 err-level lines, 0 AVCs, displays, Wi-Fi, BT, Touch ID, camera, speakers at minimal volume with speakerguardd, s2idle, perf at parity).

@RyanTheTide
RyanTheTide merged commit d689e69 into aurora-silicon:integration/aurora Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants