Repository navigation
arm64: dts: apple: t6050: share the K boards' internal panel, add it to K114s, K114c and K116c - #3350
Conversation
…to K114s, K114c and K116c The K114s comes up on the boot framebuffer only: aura logs "the device tree does not describe the internal display: no handoff", so the DCP never binds and there is no backlight device (brightness keys dead). The K116s already describes its panel and display coprocessor for the boot loader's hand-off; the K114c, K114s and K116c describe nothing. The four K boards' ADTs have the same disp0, dart-disp0, dcp and dart-dcp (live K114s ADT, 27.2: disp0 clock-ids 361 and 458, both DARTs vm-base 1 TiB and vm-size 3 TiB, dcp-brightness-node = 1, no I2C backlight controller), and the K114s runs the K116s's 27.2 DCP image (3D6C8857-...), which aura already pairs for the internal panel. Move the K116s's display half into t6050-k114-k116-display.dtsi and include it on all four boards; each board adds its panel's size. The K116s DTB is unchanged (same properties and values, node order aside); every J-board DTB is byte-identical. Signed-off-by: Ryan Murray <[email protected]>
|
Merge readiness at
Areas: Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
DjDeveloperr
left a comment
There was a problem hiding this comment.
Verdict at 36b2ee61e223: no code blockers. It isn't ready to merge yet: CI hasn't run the DT or build jobs, the K114c and K116c rows are owed, and #3337 has to land first (see below).
Checked
- DTBs: I built all 11 T6050 DTBs at this PR's base (
0a57fc2e7019) and at this head.- J714c, J714s, J716c, J716s, J775c, J775d and J873s are byte-identical.
- K116s's merged tree is unchanged apart from the new
panellabel. Its DTB differs only in node order. - There are no new dtc warnings. The K116s ones only moved line numbers.
- K114s, K114c and K116c gain exactly the K116s display half:
- the
dcpanddisp0aliases; - the disabled
display-subsystem, ondisp0_dartSID 0; apple,dma-rangeon both DARTs (1 TiB base, 3 TiB size);apple,clock-ids = <361 458>and the 10000 us video-open delay ondcp;- the
panelchild. dcpand its DARTs stay disabled until the loader's hand-off, as on K116s.
- the
- K116s video-open delay: K116s keeps 10000 us. The shared file sets it, and the board's trailing override still beats
t6050-j714s-sleep-soc.dtsi's 2500 us. - Panel nodes:
apple,panel-k114matches the^apple,panel-[jk][0-9]+$pattern inapple,dcp.yaml.- The K114 size, 302 × 199 mm, agrees with the 3024x1986 mode in the K114s row.
- DART power domains:
scripts/dtc/apple-dart-pd-check.pyfinds no new finding against the base. - Commit:
- It is signed off by the author, with no attribution.
checkpatch --strictgives 0 errors. The only warning is the MAINTAINERS note for the new.dtsi, which thearch/arm64/boot/dts/apple/entry already covers.
Not blocking
adj-height-mm: the K panel nodes have noadj-height-mm, which J714s and J716c set.- With the notch hidden (a loader-published
apple,notch-heightand noshow_notch),dcp.ctrims the modes. It keeps the fullheight-mmwhenadj-height-mmis absent, so the DPI height would be slightly off. - The K114s row shows the notch rows in the mode, so this doesn't apply today.
- Worth adding if the loader starts publishing
apple,notch-heightfor these panels.
- With the notch hidden (a loader-published
Before merge
- CI: on this stacked base only
pr-textran (pass), andreadinessis pending.dt-checksand the Apple build need to run green, which happens once this targetsmainafter #3337. - Rows:
- K114s at this head is covered: hand-off,
apple-drmbound, 120 Hz, backlight. - K114c and K116c still have no boot (
Not yet). Each needs a first hand-off row (apple-drmbound and the backlight working), or the merge lane has to accept K114s as covering the shared file.
- K114s at this head is covered: hand-off,
- #3337: this is stacked on #3337's branch, which needs to merge first.
|
Merge-train status at One question from the no-delays rule (REVIEW6 raised it on the draft): |
|
Hardware row at The five files this PR changes are byte-identical at
|
|
Row on the owner's DEFAULT boot (exact head DTB): the K114s's ESP Stage 2 is aura 1.0.0b14.1 with the DTB built at |
|
Hardware row at |
What
The K114s (14" M5 Pro, OLED) comes up on the boot framebuffer only. The boot loader logs "the device tree does not describe the internal display: no handoff", so the display coprocessor never binds:
The K116s already describes its panel and display coprocessor for the loader's hand-off. The K114c, K114s and K116c describe nothing.
This moves the K116s's display half into
t6050-k114-k116-display.dtsiand includes it on all four K boards; each board adds its panel size. The four ADTs have the samedisp0,dart-disp0,dcpanddart-dcp: on the live K114s ADT (27.2), disp0 clock-ids are 361 and 458, both DARTs are at vm-base 1 TiB with vm-size 3 TiB,dcp-brightness-node = 1, and there is no I2C backlight controller. The K114s runs the K116s's 27.2 DCP image, which aura already pairs for the internal panel (aura 023eb3a0, in 1.0.0b14). So no loader change is needed.Stacked on #3337 (K114s board DT). It builds on the K-board panel work in #2009 and #2183 (Joshua Warren) and uses the same
panellabel, so the 10-nit floor in #3181 (Chris O'Hearn) applies on top as a one-line&panelchange.Tested
Tested: K114s at 36b2ee6 (DTB byte-identical to the row's 7076818c): aura "internal display handed off: firmware 27.2 ... 1000 nits"; apple-drm binds the DCP; eDP-1 3024x1986@120 (ProMotion);
apple-panel-bl0-1000 nits follows writes and the brightness keys; the owner confirms the lag is gone.Kernel 7.3.0-42, the owner's own Stage 2 (aura 1.0.0b14.1) with only the DTB swapped, one-shot over a KIS tether, default command line plus
console=ttyDC0:DCP: T6050: internal display handed off: firmware 27.2, bw-scratch 0x286700000+0x20000, 2 clock(s), 1000 nits.apple-drm display-subsystem: bound 48ae00000.dcp,[drm] Initialized apple 1.0.0 for display-subsystem,fb0: appledrmfb. simpledrm hands over./sys/class/backlight/apple-panel-bl(max 1000) ramp the OLED through the DCP, andactual_brightnessfollows. The owner's brightness keys work.CHECK_DTBS=yon K114s, K114c, K116c and K116s gives the same 9 messages before and after.Risk: two-way · K114s, K114c, K116c (K116s unchanged in content)
Not yet
only_120hz_modes), not this DT. VRR stays off (vrr_capable0), HDR in GNOME maps SDR content too bright, and the panel EDID has no primaries (drm/apple: describe an internal panel without a known gamut as Display P3 #2798). These are driver follow-ups.Byte-identity and binding check details
cmpshows that the seven J-board DTBs are identical. The K116s diff ofdtc -ssorted sources is empty.dcpanddisp0,/display-subsystem(disabled),apple,clock-ids = <361 458>,apple,panel-video-open-delay-us = <10000>andpanel { compatible = "apple,panel-k114", "apple,panel"; 302x199 mm }on dcp, andapple,dma-range = <0x100 0 0x300 0>ondcp_dartanddisp0_dart.apple,panel-video-open-delay-us = <10000>, becauset6050-j714s-sleep-soc.dtsisets 2500 after the shared include.