Repository navigation
drm/apple: allow all fixed ProMotion refresh rates on T6031 - #4379
Merged
Merged
Conversation
The 120 Hz-only mode lock (.only_120hz_modes = true) on apple_dcp_hw_t6031 worked around DCP crashes when switching away from the iBoot panel timing on firmware 27.2. Commit 11306b4 ("Merge pull request #4359 from aurora-silicon/feat/t6031-v27-2-dcpext") fixed t6031-dcp.dtsi's missing 5-window disp-0..disp-4 ADT layout, which was the underlying cause of mode-set instability on T6031. Drop .only_120hz_modes from apple_dcp_hw_t6031 (leaving T6030 and T6050 unchanged), update the comment in iomfb.c, and assert the T6031 profile exposes all fixed rates in dcp-firmware-test.c. Verified on J516c (MacBook Pro 16" M3 Max, T6031, macOS 27.2 / 26B123) with dual-display DP-1 4K60 active: live modesets across 120, 60, 59.94, 50, 48, and 47.95 Hz, DPMS OFF -> ON at 60 Hz, and 60 -> 120 Hz return all succeed with 0 DCP crashes, 0 SErrors, and 0 DART faults. Signed-off-by: Acelogic <miguelc4600@gmail.com>
|
Merge readiness at
Areas: Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
DjDeveloperr
approved these changes
Dec 4, 2026
DjDeveloperr
left a comment
Contributor
There was a problem hiding this comment.
Checked the boot-rate filter and the T6031 display admission from #4049 and #4359. Removing the T6031 hardware flag opens fixed rates on the admitted 27.2 panel. The 14.7 path already bypasses this filter, and the T6030 and T6050 profiles retain their boot-rate guard. The J516c receipt exercises each advertised rate, DPMS, return to 120 Hz and a concurrent external display. The affected Apple, Host and display KUnit checks still need to complete.
RyanTheTide
added a commit
that referenced
this pull request
Dec 5, 2026
The previous merge of main recorded 7b10eb1 as its parent but kept the tree of the merge with the main before it, which dropped #4379 (T6031 fixed refresh rates) from dcp.c, iomfb.c and dcp-firmware-test.c. Take those three files as main has them; nothing else changes. Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
This was referenced Dec 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What: Remove
.only_120hz_modes = truefromapple_dcp_hw_t6031indrivers/gpu/drm/apple/dcp.c, update the comment iniomfb.c(T6030 and T6050 retain.only_120hz_modes = true), and add an assertion indcp-firmware-test.cconfirmingapple,t6031-dcpleavesonly_120hz_modesfalse.With the 5-window
disp-0..disp-4ADT layout fix merged in #4359 (11306b42248e), T6031's internal ProMotion panel switches cleanly across every fixed refresh rate and across DPMS off/on without crashing DCP.Tested:
scripts/checkpatch.pl --strict: 0 errors, 0 warnings, 0 checks.python3 tools/testing/selftests/drivers/gpu/apple-dcp/boot.py: PASS.26B123) with external USB-C DP 4K60 (DP-1) connected simultaneously:3456x2234@120 Hz(measured120.08 Hz)3456x2234@60 Hz(measured60.03 Hz)3456x2234@59.94 Hz(measured59.98 Hz)3456x2234@50 Hz(measured50.03 Hz)3456x2234@48 Hz&47.95 HzDPMS OFF -> ONat60 Hz(measured60.03 Hz), then60 -> 120 Hzreturn (measured117.10 Hz)DP-14K60 uninterrupted throughout.f55fccdc7.3.0-t6031-dcpext+(identicalapple_dcp_hw_t6031delta on #4359), macOS 27.2 (26B123)eDP-1live modesets across 120/60/59.94/50/48/47.95 Hz + DPMS off/on at 60 Hz withDP-14K60 active, 0 DCP/DART faultsRisk: two-way · T6031 (M3 Max) only — a plain revert restores
.only_120hz_modes = trueonapple_dcp_hw_t6031. T6030 (M3 Pro), T6050 (M5 Pro/Max), and all other SoC profiles are unchanged.