Skip to content

drm/apple: K116s DCP: PMU temperature for every panel, syslog filter, 27.2 D590 - #1646

Open
sithglan wants to merge 3 commits into
aurora-silicon:integration/aurorafrom
sithglan:thomas/k116s-dcp
Open

sithglan wants to merge 3 commits into
aurora-silicon:integration/aurorafrom
sithglan:thomas/k116s-dcp

Conversation

@sithglan

@sithglan sithglan commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Base: integration/aurora (050f6a5). Three commits, all in drm/apple. None of them changes behaviour, only what reaches the log:

  • PMU temperature for every panel. The firmware asks the AP for "PMUS"/"Temperature" (D401) at boot as the initial guess for its panel compensation. The driver answered only for mini-LED panels, so the OLED K116s logged "set_PMU_service: failed to read PMU temperature property!". Answer it for every panel with the battery temperature, as the H17P and v14.7 paths already do. The DCP's once-a-second "SMC sensor TAOC is an invalid temp -127.0, using 2DVT fallback values" record (the AOP-sourced TAOC has no sample under Linux) goes to debug level; that exact record only, any other sensor or value stays at info.
  • Syslog debug filter on the internal panel's DCP too. The filter was only in the external H17P RTKit ops.
  • 27.2 D590. The 27.2 firmware sends a 20-byte D590 notification with no reply after swaps. Take it as a no-op instead of warning about an unknown callback. This commit is the drm/apple part of Jens's "Quiet three sources of log noise on the K116s", split per subsystem. The tas2764 part is in K116s: SEP profile, ISP camera log line, tas2764 brownout log level #1649. The macsmc part (battery manufacture date) is left out, because power: supply: macsmc: skip an unreadable manufacture date quietly #1615 handles the same noise.

Not included: Jens's "drm/apple: drive firmware 27.2 with the 27.0 interface and its new method numbers". Its 27.2 tags are exactly the ones in the 27.2 table of the open #1174 (Jeff's table from #894, choosing the table by apple,firmware-compat). Jens's K116s confirms that table on hardware: AppleDCP-1317.40.16 with the +50 IOMobileFramebufferAP numbering, A389 to A390, and unchanged callbacks.

Tested by Jens on the K116s (27.2, 26B8125), internal OLED panel through DCP.

Build: arm64, LLVM 22; drivers/gpu/drm/apple/, no warnings.

Authorship. Jens Axboe wrote these commits and runs them on his K116s (16-inch MacBook Pro, M5 Pro, OLED; Mac17,12; stub macOS 27.2 26B8125). They come from his K116s bundle of 2026-11-11 (integration/aurora 254c9bd plus 34 commits, kernel 7.3.0 running on the machine). I rebased them onto integration/aurora 050f6a5 and removed the LLM co-author and session trailers. Jens has given his OK: the commits carry his Signed-off-by.

… fallback

The firmware asks the AP for the PMU temperature property at boot (callback
D401 "PMUS"/"Temperature") for its panel compensation's initial guess; the
driver answered it only for mini-LED panels, so the OLED K116s logged
"set_PMU_service: failed to read PMU temperature property!" twice. Answer
with the battery temperature as the H17P and v14.7 paths do.

The DCP also reads eleven SMC temperature keys itself for its 2D virtual
temperature model and logs once a second that TAOC is -127.0, the SMC's
no-sample value, and that it uses the 2DVT fallback. TAOC and its siblings
are AOP-sourced sensors the SMC has no sample for until the AOP's sensor
servers run, so route that record to the debug level; another sensor,
value or verdict stays at info.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
The filter that demotes known-benign firmware syslog records was only in
the external H17P RTKit ops, so the TAOC fallback record still logged once
a second on the internal panel.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
The 27.2 firmware sends a 20-byte D590 notification with no reply after
swaps (the macOS handler next to swap_info is the buffer-release
notification). Nothing here consumes it, so take it as a no-op instead of
warning about an unknown callback.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
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