Repository navigation
drm/apple: send the external HDR brightness hints macOS sends (H17P) - #796
Merged
Merged
Conversation
After every mode set on an external display, macOS sets IOMFB parameter 3 to 1.0 and parameter 6 to 1.0 for an SDR colour mode or 2.0 for a PQ one (16.16 fixed point), on the Neo (macOS 26.6.2) and on the J616s (macOS 27). Linux sent neither, so the external processor ran HDR with different brightness hints than under macOS. Send the same two parameters after each successful mode set on the H17P external path, and log a parameter the firmware does not take. On the Neo with an MSI MPG 325CQRXF, the firmware takes both with status 0 on each of four PQ and SDR mode sets. macOS also ramps parameter 6 towards the content's headroom (about 4.2 on that monitor) while HDR content is shown; that part is not done here. Assisted-by: LLM Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
mchalunderscore
pushed a commit
to mchalunderscore/linux
that referenced
this pull request
Nov 4, 2026
…tion/aurora Bring integration/aurora up to aurora-wip 52f0a6b, the source of 7.3.0-aurora-fleet14h, promoted on all four machines on 2026-11-02. The range also covers the fleet14g source b35adc7. It adds aurora-silicon#792, aurora-silicon#750, aurora-silicon#783, aurora-silicon#784, aurora-silicon#793, aurora-silicon#774, aurora-silicon#794, aurora-silicon#796, aurora-silicon#798, aurora-silicon#800, aurora-silicon#802 and aurora-silicon#801. No conflicts. Assisted-by: LLM Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
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.
After every mode set on an external display, macOS sets IOMFB parameter 3 to 1.0 and parameter 6 to 1.0 for an SDR colour mode or 2.0 for a PQ one (16.16 fixed point). I traced it on the Neo (macOS 26.6.2) and on the J616s (macOS 27). Linux sent neither.
This sends the same two parameters after each successful mode set on the H17P external path and logs any the firmware doesn't take.
Tested on the Neo (fleet14f plus this commit as a one-shot boot, dfa10460) with an MSI MPG 325CQRXF: four PQ and SDR mode sets from a VT, the firmware took parameter 3 = 1.0 and 6 = 2.0 (PQ) or 1.0 (SDR) with status 0 every time; kernel -p3 0, WARN 0, DART 0. Host selftests 84/84, W=1 clean.
Not included yet:
🤖 Generated with Claude Code