Repository navigation
Conversation
|
Welcome, and a lovely result: 1440p at 359.98 Hz with zero misses on direct KMS, and 1440p360 as the only timing out of 33 that pairs, keeps the blast radius small. The firmware-counted frames/misses table is the right evidence. Some points from a first adversarial pass over 38d1f9a..149e65b:
I haven't been through all of the RPC/peer lifetime code yet ( Assisted-by: LLM (Claude:Opus 5.5) |
|
Follow-up on the pairing lifetime, as promised. I found nothing wrong:
So the open items are those in my first comment: where the limits come from (or a firmware signal for "needs two engines"), M2 Pro/Ultra scope, and the commit trailers. Assisted-by: LLM (Claude:Opus 5.5) |
Signed-off-by: Gusarich <danielsedovzzz@gmail.com>
Signed-off-by: Gusarich <danielsedovzzz@gmail.com>
Signed-off-by: Gusarich <danielsedovzzz@gmail.com>
Signed-off-by: Gusarich <danielsedovzzz@gmail.com>
Signed-off-by: Gusarich <danielsedovzzz@gmail.com>
149e65b to
a1e51ae
Compare
|
@RyanTheTide The 13.5 firmware allocator defaults to 6,144 pixels per line and a 1.438 GHz pixel clock per engine. On my M2 Max, firmware also reported a limit of 1,274,019,840 active pixels/s when it rejected 1440p at 359 Hz. I documented both sources beside the limit definitions. Linux sets The M2 Max paired engine 1 with engine 3 (device-tree numbering). On the 16-inch M2 Pro, the only candidate is 2 → 1, and the driver excludes engine 1 as a peer when its fixed HDMI path is present. I’d expect single-engine operation there. On Ultra, both engines must be on the same die. I’ve only tested the Max. An M2 Pro boot report with an external monitor would help check the single-engine path. I removed the attribution trailers from all five commits. Frame pacing stays separate. Assisted-by: LLM (Codex:GPT-6 Astra, Codex:GPT-6.2 Astra) |
|
Thanks, re-read at a1e51ae.
The pairing and lifetime logic itself looked right last pass. Rows: your M2 Max row covers the paired path; the M2 Pro single-engine boot you mention is the other one needed. Assisted-by: LLM (Claude:Opus 5.5) |
Signed-off-by: Gusarich <danielsedovzzz@gmail.com>
Describe the directional peers on the M2 Max laptop boards. Omit the fixed HDMI engine as a peer. Without a peer list, keep the ordinary single-engine path. Use the DPTX service limits when supplied. Firmware 13.5 on an M2 Max (J416c) did not report those properties. With extra pipes disabled, varying one DisplayID timing on an AW2725DF produced these limits: - At 1440 lines and 60 Hz, firmware accepted 6144 pixels per line and rejected 6145 with "max width: 6144". - At 2560x1440 with totals of 5600x2500, the physical colour catalogue offered SDR RGB at 1360 MHz. At 1360.01 MHz only YCbCr 4:4:4 remained. The RGB value is a conservative fallback for pairing. Clock alone must not disqualify modes published with one engine or without RGB. - The rejection for 2560x1440 at 359 Hz reported 1274019840 active pixels/s. Keep the same limits in the allocation reply, mode checks and physical timing readback. Check both engines have enough capacity for the offer. Signed-off-by: Gusarich <danielsedovzzz@gmail.com>
|
Thanks, 2c88b99 and 3c9141d answer both points cleanly.
Code is fine from our side. The M2 Pro single-engine boot you mentioned (no peers in its tree, ordinary path) is the remaining row. Assisted-by: LLM (Claude:Opus 5.5) |
|
@RyanTheTide I tested the paired path on my M2 Max. I don’t have access to an M2 Pro, so I can’t test its single-engine path myself. Could someone with an M2 Pro boot this branch and confirm that an external DisplayPort monitor works? Assisted-by: LLM (Codex:GPT-6 Astra, Codex:GPT-6.2 Astra) |
|
Thanks. We don't have an M2 Pro in our lab either, so I've asked for an owner to run that row: boot this branch on an M2 Pro with an external DisplayPort monitor, then a mode switch and a hotplug. Until then, the paired path is proven on your M2 Max, and the single-engine path on M2 Pro is the same code that runs today when Assisted-by: LLM (Claude:Opus 5.5) |
There was a problem hiding this comment.
Reviewed 2c88b9900ba1 against pre-pr-checklist.md (§1–§6).
The core T602x pairing, lock ordering, and fail-closed DMA retention design is solid:
- §1 (DT peers & provenance): Moving peer routing from the hardcoded crossbar table to
apple,scanout-peersphandles inapple,dcp.yaml/t6021-display2.dtsiand documenting the M2 Max (J416c) measurement methodology for the6144/1360 MHz/1274019840 px/sfallback limits resolves the earlier model-gating and provenance concerns cleanly. - §3 (Safety, locking, DMA retention): Lock ordering avoids ABBA via
device_trylock(peer->dev),mutex_trylock(&dcp_typec_fabric_lock)(when!fabric_held), andmutex_trylock(&peer->external_lock)undert602x_scanout_lock.t602x_present_work()never takest602x_scanout_lock(preventing flush deadlocks),t602x_stop_locked()keeps framebuffer pins and peer reservation until both engines confirm stop, andt602x_unbind_pair()fails closed by pinning the module, all 5 IOMMU groups/devices, and live framebuffers while draining RTKit RX and fencing both pipes from rebind until reboot. - §4 & §6 (Attribution, clean-room, naming): All 7 commits carry human identity and human
Signed-off-by:only (zero AI trailers in commits), PR disclosure is present, and clean-room/naming checks pass.
Blockers (requesting changes)
-
Broken host tests / CI not green (
2c88b9900ba1):- Both workflows on
2c88b9900ba1(Host tests#45007833945 andDevice tree checks#45007833917) are currentlyaction_required(unrun). - The last executed
Host testsrun (#44956011208, on149e65b9) failed 4 suites (448/452), and all 4 failures still apply to2c88b9900ba1:dcpext26-modeset-tests:drivers/gpu/drm/apple/apple_drv.cchangeddcp_crtc_atomic_modeset(crtc, commit)to 3 arguments(crtc, commit, locked), breaking the 2-argument stub attools/asahi/dcpext26-modeset-tests.py:95(error: too many arguments to function call, expected 2, have 3).t6030-display-admission-tests(and--mutations):drivers/gpu/drm/apple/apple_drv.creplaceddrm_dev_unplug(&apple->drm)inapple_drm_uninit()anddrm_dev_unregister(&apple->drm)inapple_drm_init()withapple_drm_unplug_atomic(apple), failing the source-order assertions attools/asahi/t6030-display-admission-tests.py:32-33.apple-dcp(20/92 tests failed: #1, 15, 17, 20–22, 38, 41–44, 70–71, 76–81, 87):- Parser selftests (
tools/testing/selftests/drivers/gpu/apple-dcp/rate.py:60-63and peers) still extractstruct dcp_dptx_capsfromdcp-peer-v27.h(which moved todptx-caps.h) and do not provideT602X_TIMING_SIZE/dcp_t602x_wire_clock()now referenced byparser.c. - Fabric transaction selftests (#76–81, 87 in
tools/testing/selftests/drivers/gpu/apple-dcp/transaction.py) extractdcp_typec_route_busy(),dcp_typec_route_activate(), anddcp_typec_route_deactivate()fromdcp-fabric.c, which now calldcp_t602x_port_reserved()anddcp_t602x_stop()without stubs intransaction.py.
- Parser selftests (
- Please update the affected host test harnesses so
Host testsandDevice tree checks(dt_binding_check+CHECK_DTBSforapple,scanout-peers) both pass cleanly on the final head.
- Both workflows on
-
§5 Hardware evidence & multi-board coverage:
- Re-test on live head (
2c88b990/ post-CI-fix head) with §5 regression checks: The M2 Max results table in the PR body is froma1e51aeb6db7, prior to theapple,scanout-peersDT lookup and1360 MHzfallback-limit / non-RGB catalogue logic in3c9141dd..2c88b990, and does not yet include the §5 baseline regression checks (0SELinux denials or distro note,0failed systemd units,0newdmesg -l err..emergentries, plus mode switch and hotplug/unplug recovery). - M2 Pro single-engine row (§1 / §5): Even without
apple,scanout-peers, several new code paths run on everyapple,t6020-dcpext(13.5) machine—including M2 Pro (t6020) and M2 Ultra (t6022)—such asiommu_device_use_default_domain()on the scanout/piodma devices,afk_getbuf()usingdma_alloc_coherent(),dcp_no_peer_hints_v13_5(), anddptx_native_controller_ops. Keeping the hold for an M2 Pro external DisplayPort boot + mode-switch + hotplug confirmation (as already requested in the thread).
- Re-test on live head (
Non-blocking notes (§2 / cleanup)
drivers/gpu/drm/apple/dcp-peer-v13_5.inc:360(t602x_peer_controller()): pollsep->services[]with20 × msleep(15)for unit 0 AV (BIT(0)). Completing a dedicated completion (or waking a waitqueue) fromdptx_controller_service_init()whenservice->cookie == BIT(0)would avoid the polling loop under §2.drivers/gpu/drm/apple/dcp-peer-v13_5.inc:431(t602x_pair_power()):msleep(100)afterA472has no comment explaining why firmware 13.5 needs that settle window (even thoughdcp-peer-v26_6.incdoes the same); please document the rationale or replace with a firmware completion signal if one exists.drivers/gpu/drm/apple/dcp-peer-v13_5.inc:572(t602x_set_mode()): pollingmodeset_statewithusleep_range(1000, 2000)could similarly wake a completion/waitqueue fromdcp_t602x_tiling()onparam == 9 && *value >= 2.drivers/gpu/drm/apple/dptxep.c:1022,1618: can checkdcp->hw.t602x_paired_dp/dcp_t602x_ext13_5(dcp)directly instead of repeatingof_device_is_compatible(dcp->dev->of_node, "apple,t6020-dcpext").
|
@DjDeveloperr I fixed the four failing host suites, replaced both polling loops, and addressed the remaining driver notes. All 92 Apple DCP tests pass locally. The binding passed with zero new warnings across 138 device trees. I updated the table with M2 Max measurements from 6598a01e26a6. Direct KMS recorded zero misses at 240 and 360 Hz, including the 360 Hz repeat after a USB-C controller rebind. I don’t have an M2 Pro to verify its single-engine path. Could you approve the Host tests and Device tree checks runs on this head and take another look? Assisted-by: LLM (Codex:GPT-6 Astra, Codex:GPT-6.2 Astra) |
|
Thanks for the follow-up. I re-read 2c88b99..6598a01. Host tests. I ran the host runner locally at 6598a01. Wakeups (c5f301b). This looks correct to me:
One small gap, bounded by the old timeouts: Expert interface (6598a01). The 13.5 controller endpoint has no OPEN handshake, so nothing is sent to the firmware either way. Before this change, the announcement went unmatched with an error log; now it matches,
Hardware. The results table is from a1e51ae. Since then, the peers moved to DT, the limits changed, and c5f301b rewrote the 360 Hz modeset wait itself.
Assisted-by: LLM (Claude:Opus 5.5) |
The paired scanout changes left the host fixtures using the old modeset signature, teardown sequence and DPTX capability layout. Exercise the current interfaces and check that teardown releases only owned buffers. Signed-off-by: Gusarich <danielsedovzzz@gmail.com>
Polling for the AV controller and tiling phase can delay a modeset after firmware has already reported readiness. Wake the waiting thread from the firmware callbacks and recheck the tiling phase under the peer lock before continuing. Signed-off-by: Gusarich <danielsedovzzz@gmail.com>
The 13.5 controller advertises dcpexpert-service alongside the DPTX interfaces used for scanout. Mark it optional so the announcement no longer produces an unmatched-service error. Declining it sends no message to firmware because this endpoint has no OPEN handshake. Signed-off-by: Gusarich <danielsedovzzz@gmail.com>
6598a01 to
3fcf89e
Compare
|
@RyanTheTide The M2 Max boot log on 6598a01e shows the optional service matched: The patched rows in the PR were measured on that boot. The current head 3fcf89ef has the same source tree. Only the earlier 32/33-mode sweep used a1e51aeb. I repeated the 2560 × 1440 mode switch after your review. Each direct KMS capture lasted 60.70 seconds.
The kernel logged zero new errors and zero AppArmor denials during this check. SELinux was inactive. One system unit failed ( @DjDeveloperr could you approve Host tests and Device tree checks for this head? I only have an M2 Max. An M2 Pro owner is still needed to check external DisplayPort at boot, a mode switch and hotplug. Assisted-by: LLM (Codex:GPT-6 Astra, Codex:GPT-6.2 Astra) |
|
Thanks. The Assisted-by: LLM (Claude:Opus 5.5) |
|
@RyanTheTide @DjDeveloperr I physically unplugged and reconnected the Alienware AW2725DF on the M2 Max at 2560 × 1440, 359.98 Hz. The external connector was down for 8.73 seconds including the time unplugged. The same display came back at 359.98 Hz automatically. The internal panel stayed enabled. Each direct KMS run lasted 60.70 seconds. The repeat used the same cable connection.
The cable cycle triggered two kernel warnings from Could you both record a formal review on the current head and approve if this addresses your comments? Could one of you also approve Host tests and Device tree checks to run? I only have an M2 Max. We still need an M2 Pro owner to check external DisplayPort at boot, a mode switch and hotplug. Assisted-by: LLM (Codex:GPT-6 Astra, Codex:GPT-6.2 Astra) |
RyanTheTide
left a comment
There was a problem hiding this comment.
Approved at 3fcf89e. The physical reconnect on the M2 Max brings the AW2725DF back at 359.98 Hz automatically with the internal panel still up, and the repeat runs at 240 and 360 Hz have 0 misses. The few misses right after the reconnect are the expected re-train window. The two cd321x_update_work warnings (module_put, typec_altmode_update_active) come from the type-C port driver, not from this code, but they're worth a separate issue with the trace. I've started the host-tests and dt-checks runs. The M2 Pro owner row is still the one thing before merge.
Assisted-by: LLM (Claude:Opus 5.5)
|
@Gusarich status against integration/aurora daa9e2d: the ten commits merge cleanly even though 35 commits have touched drm/apple and its tests since a84637d, and the host tests pass on the merged tree (34 dcp, 17 t60 and 2 afk runs, 0 failures). The red dt-checks run on 3fcf89e failed while uploading its artifact; the check itself reported 0 new warnings over 138 DTBs and the binding passed, so it needs a re-run, not a fix. Still open: a re-review at 3fcf89e (the change request on file is against 2c88b99) and the M2 Pro single-engine row from an owner. One question: the 100 ms settle after the 13.5 pair power request has no ready event behind it; if the firmware reports anything usable there, could the code wait on that instead? |
DjDeveloperr
left a comment
There was a problem hiding this comment.
Verdict: HOLD at 3fcf89ef
Blockers:
- Merge conflicts against
main(CONFLICTING/dirty): Rebase onto currentmainto resolve conflicts indrivers/gpu/drm/apple/iomfb.c(dcp_modes_replace,dcp_find_modevslookup_mode_matching,dcp_mode_settable),drivers/gpu/drm/apple/parser.c(parse_mode),drivers/gpu/drm/apple/parser-test.c, andtools/testing/selftests/drivers/gpu/apple-dcp/rate.pyintroduced by #3052. drivers/gpu/drm/apple/dcp-peer-v13_5.inc:133,1198(post-rebase HDR / colour-mode atomic check): Currentmainenablesiomfb_template_pq(dcp_hdr_output_supported()is nowtrueon 13.5 external DP) and full DRM colour-property validation indcp_crtc_check_hdr(). Once rebased ontomain,dcp_t602x_check()must reject HDR PQ (HDMI_EOTF_SMPTE_ST2084) and non-default / non-RGB colour requests inatomic_checkrather than accepting them and failing later with-EINVALonowner->pq_requestedindcp_t602x_modeset()(or silently programmingsdr_rgb.id). Also avoid stack-allocating the enlargedstruct dcp_display_modeindcp_t602x_needs_pair(),dcp_t602x_check(), anddcp_t602x_modeset()when rebasing ontodcp_find_mode().- CI not green (
dt-checksFAILURE):dt-checks(run45042037653) passeddt_binding_check,CHECK_DTBS, ADT coverage, and DART power-domain checks, then failed inKeep the warning listsdue to an artifact upload timeout (CreateArtifact). Re-run CI to green on the rebased head (host-tests,dt-checks, andpr-text). - §4 / §5 PR body hygiene and exact-head HW evidence: Remove the AI attribution footer line at the end of the PR description (all 10 commits are already clean), and add the required
**What:**,**Tested:**,**Risk:**(one-way/two-waydoor + affected Macs; note the newapple,scanout-peersDT binding), and**Not yet:**top lines with detail folded below. Because resolving the 4 code conflicts changes touched files, include an updated M2 Max (J416c) test row at the new post-rebase head SHA (plus note M2 Pro single-engine coverage underNot yet:if still awaiting an owner run).
Checked: Interdiff 2c88b990..3fcf89ef and full 35-file diff against §1–§6, all 10 commits, CI runs (host-tests green, dt-checks artifact-upload failure), live main merge-tree conflicts, and M2 Max hardware rows.
Evidence
Prior blockers resolved in 2c88b990..3fcf89ef
c7e0a637fd85(host selftests): Fixed all 4 previously failing suites (dcpext26-modeset-tests.py,t6030-display-admission-tests.py,apple-dcprate.py/lifecycle.py/recovery.py/transaction.py).host-tests(run45042037611) is green on3fcf89ef.6ed43cc2bf17(waitqueue wakeups & cleanup): Replaced the20 × msleep(15)AV-controller poll int602x_peer_controller()andusleep_rangepoll int602x_set_mode()withwait_event_timeoutont602x_pair_waitwoken fromdptx_t602x_controller_init(),dcp_t602x_tiling()(param == 9 && *value >= 2),t602x_modeset_done(), anddcp_peer_forget(). Verifiedwait_event_timeoutevaluatest602x_get_av_controller(ep)without leaking a service reference and thatdcp_t602x_tiling()still decides the outcome underdcp_peer_lock. Switcheddptxep.cchecks fromof_device_is_compatible()todcp->hw.t602x_paired_dpand documented themsleep(100)settle window int602x_pair_power().3fcf89efa49a(optional expert service): Marksdcpexpert-serviceoptional ondptx_t602x_controller_opsand returns-EOPNOTSUPPinprepare(no wire message sent on this endpoint). Confirmed by the M2 Max boot log lineAFK optional dcpexpert-service (dcpexpert-service) is unsupported on channel 9.
Checklist breakdown (§1–§6)
- §1 (No model gating): Pass. Peer topology comes from
apple,scanout-peersDT phandles (Documentation/devicetree/bindings/display/apple,dcp.yaml,arch/arm64/boot/dts/apple/t6021-display2.dtsi); DPTX service limits are used when reported with measured M2 Max fallback ceilings documented in2c88b9900ba1. - §2 (Production-ready): Pass on default kernel command line. Non-blocking notes:
drivers/gpu/drm/apple/dcp-peer-v13_5.inc:364(t602x_peer_controller()): addingREAD_ONCE(peer->crashed) || READ_ONCE(peer->peer_unbinding)to thewait_event_timeoutcondition would matcht602x_set_mode()and avoid waiting the full 300 ms on a peer crash/unbind.drivers/gpu/drm/apple/dcp-peer-v13_5.inc:441(t602x_pair_power()):msleep(100)afterA472is now documented; worth replacing if firmware exposes a power-ready event later.
- §3 (Safety / locking / regression safety): Pass on
3fcf89efitself (lock ordering, fail-closed DMA retention/quarantine on unconfirmed stop, non-T602x paths gated bydcp_t602x_ext13_5()/dcp->hw.t602x_paired_dp). See blocker above for the post-rebase HDR / colour-mode interaction with #3052 onmain. - §4 (IP & attribution): All 10 commits carry human author
Gusarichand humanSigned-off-by:only (0 AI trailers in commits). Blocking item: remove the AI attribution footer line from the PR description. - §5 (Evidence & PR structure): M2 Max (J416c) testing at
6598a01e(tree-identical to3fcf89ef) verified 2560×1440 at 239.97 Hz and 359.98 Hz (0 firmware/DRM misses on repeat direct KMS captures), mode switches, physical USB-C unplug/replug auto-recovery to 359.98 Hz with internal panel active, 0 newerr..emergkernel messages, 0 AppArmor denials (SELinux inactive), and 1 failed unit (speakersafetyd, also failed on stock). Blocking items: addWhat:/Tested:/Risk:/Not yet:structure to the PR body, and refresh the M2 Max row at the post-rebase head SHA once the 4 conflicts withmainare resolved. M2 Pro single-engine verification (apple,t6020-dcpextwithoutapple,scanout-peers) remains requested from an owner and should be listed underNot yet:if still pending. - §6 (Naming): Pass.
CI & mergeability snapshot at 3fcf89efa49a
mergeable:false(mergeable_state: dirty) — 4 content conflicts againstmain(a9cd131e82076).host-tests(45042037611):SUCCESS.dt-checks(45042037653):FAILURE(CHECK_DTBS,dt_binding_check, ADT coverage, and DART power-domain checks all passed;actions/upload-artifact@v4timed out onCreateArtifact).
DjDeveloperr
left a comment
There was a problem hiding this comment.
Verdict: FINISH, then merge at 3fcf89efa49a
Blockers:
- The branch conflicts with
mainindrivers/gpu/drm/apple/iomfb.c(dcp_modes_replace,dcp_find_modeagainstlookup_mode_matching,dcp_mode_settable) andparser.c, and CI is red until it's rebased. - Missing row: one T602x (M2 Pro or Max) at the rebased head driving a paired DisplayPort display (a 5K or 6K panel in its native mode).
Rows before merging: AFK and apple_drv.c run on every Mac, so besides the T602x row it also needs one boot at the rebased head on another generation with an external display working.
Checked: thank you for the paired-scanout work. No Apple material, no gates: pairing is described in the DT and binding.
Superseded by the review at 3fcf89e
|
Merge readiness at
Areas: Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
|
This branch conflicts with |
|
What's left: the branch conflicts with |
There was a problem hiding this comment.
Thanks for the paired-scanout work, and for taking the earlier points on board. A second-reviewer pass at 3fcf89ef, in addition to Dj's FINISH (rebase + T602x row):
- Limits: thanks for moving them into the DT (
2c88b990). That's the right home. One question left:dcp_t602x_limits()still falls back to 6144 / 1360 MHz / 1274019840 when the DT caps are absent. If the binding makes the three caps required on every T602x external DCP node that enables pairing, the fallback can go. Then a board without measured limits simply never pairs, rather than pairing against M2 Max/AW2725DF numbers. If you'd rather keep the fallback, please make it M2-Max-only or log once when it's used. - Scope: M2 Pro (one die) and M2 Ultra (two dies,
dcp_t602x_match()per die) take the same path. When you rebase, please say what pairs on each (or show one non-Max boot where nothing pairs, or the right engines pair). - Lifetime: please cover unbind and hot-unplug while paired (
dcp_t602x_release_port()with the peer still holding the second engine) in the selftests or one row line. That's the path most likely to leak an engine reservation.
Trailers look right now: Signed-off-by only. No other blockers from this pass.
|
@Gusarich: stale-PR closeout. We tried to carry this onto main ourselves, but it is not a mechanical merge any more. Main has since reworked what the T602x pairing depends on: #3052 replaced the mode lookup ( Everything that is open, in one list:
If you can do 1 and 3, it merges with no further review rounds. If you would rather hand it over, say so and our display lane takes the port and keeps your authorship. Either way the next step is due 12-01. |
There was a problem hiding this comment.
Verdict: MERGE at 3fcf89efa49a
Converts this App's earlier review at the same head to an approval under the 12-01 merge bar (better than before and doesn't break; block only on a shown failure). No code blocker was found in it. The merge gate (a row on one Mac at this head + fast CI) is tracked by pr-readiness, not held here.
Checked: Code reviewed in the earlier App review at this head (6101469914).
Follow-ups (not blocking): make DT limits required or log fallback, say what pairs on M2 Pro/Ultra, unbind/hot-unplug while paired coverage
|
Closing this as stale. It has conflicted with main since about 11-25, and the change request from 11-25 is still open. Ten files conflict now: #3052 replaced the mode lookup and rewrote the atomic check this builds on, so carrying it over is a port rather than a merge, and maintainer edits are off on this branch. The branch stays. Reopen this, or open it again as a new PR, once it's ported onto main, with the M2 Pro or M2 Max row driving a paired display in its native mode. |
On an M2 Max, the stock driver exposes the Alienware AW2725DF’s 2560 × 1440 modes up to 239.97 Hz. Its native 359.98 Hz DisplayPort timing exceeds one display engine’s capacity. Dell rates the HDMI input for 144 Hz at this resolution. Monitor specifications.
Change
Use a second, compatible display engine when a firmware timing exceeds one engine’s capacity and the second engine is free. Each engine scans half of the same framebuffer, and the monitor receives one DisplayPort signal. On firmware 13.5, pairing supports progressive, fixed-refresh SDR RGB over direct USB-C to DisplayPort. HDR, variable refresh and HDMI are outside this change.
Results
Each cell shows completed frames/s (missed refresh slots) as counted by the display firmware over one minute at 2560 × 1440. Hyprland composed the desktop workloads, including fullscreen. Stock baseline a84637dca209 and tested revision 6598a01e26a6. The current head 3fcf89efa49a has the same source tree. Mode-switch retest and boot log.
The final head exposed 33 timings. In the earlier sweep of 32 stock and 33 patched timings, only 1440p360 used two engines. Sweep revision.
After a physical USB-C unplug/replug at 1440p360, the same Alienware resumed 359.98 Hz automatically. The internal panel stayed enabled. In the first one-minute direct KMS captures after reconnect, firmware counted five missed refreshes at 240 Hz and one at 360 Hz. Both firmware and DRM counted zero misses at each rate on a repeat. A separate USB-C controller rebind also restored the display. Physical hotplug measurements.
The M2 Max (J416c) test image applied the peer lists from the compiled board tree to the bootloader’s live tree. On Omarchy (Arch Linux ARM, AppArmor), the kernel logged zero messages at error priority or higher during the mode switches, presentation tests and reconnect. The physical cable cycle logged two USB-C warnings, in
module_putandtypec_altmode_update_active. The only failed service wasspeakersafetyd. It also fails on the stock test kernel because the bootloader supplies no amplifier levels.Desktop frame pacing
The direct test flipped between ready buffers. For a fresh desktop frame at every 360 Hz refresh, the compositor has to deliver a finished buffer every 2.78 ms. CPU frequency and GPU wake-up latency can cut into that budget. When a buffer arrives late, the display repeats the previous frame.
An earlier kernel prototype briefly raised the CPU frequency floor after missed deadlines and adjusted GPU idle and cleanup timing. In one-minute TestUFO runs it delivered 359.95 frames/s windowed (2 misses) and 359.96 fullscreen (1 miss). CPU and GPU power policy also affects other workloads. After the scanout review, we’d like maintainer input on where that policy belongs and its power cost before proposing a separate pull request.