Description
What
Mac mini M2 (J473, T8112, macOS 27.2 system firmware) with an MSI MPG 325CQRXF on USB-C: at 2560x1440 above 165 Hz (180, 240, 280 Hz; SDR and HDR; with or without DSC; on dcp and on dcpext) the monitor shows only a strip at the top of the picture. At 144/165 Hz the picture is whole. macOS on the same mini, cable and monitor is whole at 240 and 280 Hz.
Interim: #3457 keeps external modes at or below what the 360 MHz provider clock scans (2560x1440@165 on this monitor). With #3405 (USB-C on dcpext) the MSI gets DSC 1.2, 10-bit, HDR and its VRR range within that limit.
What we know
- The DCP firmware's mode set at 239 Hz is line for line the same on Linux and macOS (DSC 8/4 slices, 969.4 MHz pixel clock, M3 timing), including
getClockFrequency(0) (360000000) < videoClock 484700000! Giving up on frequencies. So it isn't the mode, DSC or link setup. - Our own read-only measurement in a macOS 27.2 guest on this mini (MSI on dcpext, 10 s per mode):
- DCP pipe clock muxes
0x23b040058(dcp, /arm-io clock 344) and0x23b040070(dcpext, clock 350):0x86100000at 144 Hz and0x85100000at 240/280 Hz. Linux leaves0x87100000(the boot source) at every mode. - PMP running (CPU_CONTROL 0x10; Linux: 0). DISP DVFS state stays 0 in all modes. The SOC/ready state words change from 0x124 to 0x324 at 240 Hz and above.
- DCP pipe clock muxes
- On Linux the mux ignores writes from the AP. Writing source 5 or 6 reads back
0x87100000at once, before or after the mode set, with one DCP or both. So the pipe clock source follows the SOC performance state, and on T8112 only the PMP sets that state. - Fabric/DRAM bandwidth is not the limit (PMP off: 42-60 GB/s system memcpy vs about 4.3 GB/s for 1440p280 scanout).
Fix direction
Run the T8112 PMP on 27.2 (it currently crashes about 35 s after start: RTKit PTD abort, see the #1020/#1064/#1571/#1637 history) and vote the SOC state the display needs above the provider clock (the ADT names a DP-SOC-VMAX virtual vote device). Once a start path records a verified PMP display acknowledgement, #3457 steps aside by itself.
Evidence (lab store)
- traces/display/20261129-hv-dcp/j473/e1b-mux-dvfs.tsv (macOS mux + DVFS state words)
- traces/display/20261129-j473-dsc/{dsc1-a,dsc3-a,dsc4-a,dsc4-b} (Linux rows: route swap, a lab mux-select build, write persistence)
- work/display/M2MINI-DSC/strip-research.md (register map)
Activity
DjDeveloperr commentedon Nov 29, 2026
The same-monitor control and the working 144/165 Hz rows make the interim cap useful. Keep it until the T8112 PMP path has a verified display acknowledgement. The follow-up row should use the same connector and monitor, confirm the full picture at 240/280 Hz, and repeat 144/165 Hz on both display routes as controls.
RyanTheTide commentedon Nov 29, 2026
More from the same macOS measurement (144 / 240 / 280 / 280 VRR): the PMP's DVFS request words (
0x23b3d0040-0x5f) and the power-state request and bandwidth vote block (0x23b3d0500-0x61f, including the DCP 'Dashboard' words at+0x5d8/+0x5e0) read zero in every mode. Only the PMP's achieved state words for entries 8 and 0xa (SOC) change,0x124at 144 Hz to0x324at 240/280 Hz, along with the pipe clock mux. So macOS sends no explicit display vote. The SOC state rises from the PMP's own controllers (its controller list has SOC read/write bandwidth controllers, no display one), presumably on the higher scanout bandwidth, and the DCP pipe clock source follows the SOC state. For Linux that means the fix is the T8112 PMP running with its bandwidth controllers, not a new vote path in the display driver.RyanTheTide commentedon Nov 29, 2026
Kept open for T8112 PMP bring-up, with the cap from #3457 in place. The fix needs a complete picture at 240 and 280 Hz on the same setup, with 144 and 165 Hz controls.
RyanTheTide commentedon Nov 29, 2026
The J473 routing changes have landed in Linux #3405 as
a03face5and Aura #544 asdc4f80ff. The paired Stage 2 build is with M2-COMBINE. This issue stays open for the full-picture checks at 240 and 280 Hz on the same setup, with the existing 144 and 165 Hz controls.RyanTheTide commentedon Nov 30, 2026
The T8112 PMP bring-up now owns this follow-up. A J473 diagnostic image is built and queued to check whether the PMP stays running. The 165 Hz cap stays in place while that test is pending.
For closure, keep the same monitor and connector and verify a full picture at both 240 and 280 Hz, with the 144 and 165 Hz controls. A passing PMP diagnostic by itself establishes the next step toward that display test.
RyanTheTide commentedon Nov 30, 2026
The first four J473 PMP-on diagnostic boots are complete and the mini was returned to saved combo30. The earlier PTD abort did not recur. The external DCP reported a startup timeout on both boots with the short D003 reply and on neither boot with the extended reply in the lab image. This supports testing the #3327 path on J473. The lab image and that PR have separate source identities.
The three-cycle extended-reply run measured memcpy at 9.9 GB/s on the P core and 5.9 GB/s on the E core, versus 35.4 and 16.6 GB/s on saved combo30 with the PMP off. Keep the 165 Hz cap while T8112-PMP investigates the bandwidth loss. Closure still needs a full image at both 240 and 280 Hz on the same monitor and connector, with the 144 and 165 Hz controls.
RyanTheTide commentedon Dec 1, 2026
J473 (T8112) memory bandwidth on macOS 27.2 with its PMP running, measured 12-01 with macOS booted under our HV and the same single-thread memcpy test as the Linux rows:
So the PMP doesn't cap bandwidth: macOS runs it at full speed. Linux is missing a request that macOS makes. Our earlier rows already ruled out the mailbox handshake, the tunables and the registry. The likely gap is the CPU memory floor (
apple,cpu-memory-floor), which T6000 and T8122 already carry and T8112 doesn't. Patch and J473 row to follow.DjDeveloperr commentedon Dec 1, 2026
There is a PMP DCS state you can configure (DRAM controller). We've debugged a similar issue where DCP high refresh rates MMIO was affecting mem bw for no reason on M4 mini but it has been fixed.
RyanTheTide commentedon Dec 1, 2026
T8112 PMP on the J473: the CPU memory floor fixes the bandwidth cap, but running the PMP breaks the USB-C display. Not ready for default-on yet.
Branch
b7/t8112-pmp-floor(59ec33bf):APPLE_USE_PMPfor every T8112 board,apple,cpu-memory-floor = <0x21 2 0x25 4>withapple,pmp-tables(the T8122 layout), and T8112confirm_ioreg_len. Tested together with #3327 (85c4cf9f). Rows on the J473 at lab merge01002f03, kernel-only one-shots with a DTB-only trial Stage 2 (production aura and U-Boot bytes), single-thread memcpy, both monitors attached:For comparison, macOS on the same Mac gets 40.6 / 14.3.
Next: find what the display needs while the PMP runs (the DCP side of the D003/PMP report request), then land the series. Evidence: our
traces/power/20261201-b7-pmpfloor-j473.RyanTheTide commentedon Dec 1, 2026
Narrowed down the T8112 PMP-on display blocker by comparing boot logs from the two J473 rows above (PMP on vs off, same kernel). With the PMP running, the USB-C display's mode set (2560x1440@165, 666 MHz pixel clock) never completes:
set_digital_out_mode finished:0followed byset_digital_out_mode timed outafter about 8.6 s, then IOMFB transaction timeouts. With the PMP off, the same mode set completes in about 210 ms. HDMI at 1080p120 (297 MHz) does start. This looks like the T8122 case, where the DCP's first mode set completes only after the display's PMP report request (apple,pmp-reporton the DCP nodes). T8112 needs the same request from its DCPs before the T8112 PMP series can be default-on.RyanTheTide commentedon Dec 1, 2026
Opened #3789 (
fix/t8112-pmp-display-floor@098b53c0d52ab7) with the T8112 PMP enablement, CPU memory floor, and display clock scaling fix.Root cause of the PMP-on mode-set timeout and locked display clock:
t8112.dtsi, tenpmp_reportchild entries (pmp_report_gfx..pmp_report_scodec) were off by -2 relative to the T8112soc-devicetable (SOC-AON/SOC-RESToccupy records 2 and 3, shiftingAGX=6,DISP=9,DISPEXT=10). With PMP running, Linux was sendingDISP/DISPEXTpower requests to bits 7 and 8 instead of 9 and 10, so the PMP treated the display blocks as off and ignored their DVFS requests, hangingset_digital_out_modeon high-rate modes.apple_pmp_offsets_t8112lacked.defer_requests = truefor requests probed beforeapple_pmpstarts, anddcp_ext_wait_pmp()did not wait for PMP display acknowledgment or setpmp_display_ackedon T8112 DCPs.J473 hardware proof (
7.3.0-aurora-m2pmp, macOS 27.2 firmware, dual displays):231c00000.dcpand271c00000.dcpreceivePMP acknowledged the display request;PMP running (status 0x1), requests 0x600;memory floor owner admitted.mcpywith PMP on: 38.6 GB/s P-core, 17.6 GB/s E-core (floor drops cleanly to0x101when idle and re-raises to 38.6/17.4 GB/s).DP-2) 2560x1440 mode sweep: 144 -> 165 -> 180 -> 240 -> 280 -> 144 Hz allAPPLIED_OK, 0 timeouts, 0 crashes, with liveDVFS-STATEscaling0x101(144/165/180 Hz) ->0x301(240/280 Hz) ->0x101(144 Hz) and0x324under load at 240/280 Hz. Acer HDMI-1 1920x1080 @ 120/180 Hz alsoAPPLIED_OK.mcpy+ mid-soak DPMS off/on): 0 PMP crashes, 0 DCP crashes, 0 timeouts, 0 AVC, 0 failed units.RyanTheTide commentedon Dec 2, 2026
Fixed on main by #3789 (T8112 PMP memory floor + display clock scaling), with #3865 for the deep-sleep follow-up. Hardware check on J473 (M2 mini) with kernel 7.3.0-aurora-fleet94 (main e7015fb): MSI on USB-C DP at 2560x1440 @ 280 Hz, 10-bit, SDR and HDR (bt2100), full frame with no strip, checked by eye. Closing.