Repository navigation
drm/apple: fix washed-out H17P external SDR RGB output - #289
Merged
Merged
Conversation
Native-tagged RGB surfaces produce washed-out external output on J700 H17P despite correct KMS pixel values. The same MSI and cable render normally in macOS and M2 Fairydust. A controlled J700 trial changing only the source tag to sRGB restores normal colours. Apply that tag to native RGB surfaces on the external H17P profile. Preserve transfer, pixel format, output modes and other profiles. No diagnostic switch is needed. Generated-by: LLM Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]>
RyanTheTide
marked this pull request as ready for review
October 13, 2026 01:19
This was referenced Oct 13, 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.
Neo's external H17P output looks pale despite correct RGB pixel values in KMS scanout. Changing only native RGB source tagging to sRGB restored normal colours on the directly connected MSI MPG 325CQRXF in the owner-observed R40 trial.
Apply that source tag by default to native RGB surfaces on the external H17P profile. Keep the SDR transfer value, pixel formats, CTM, output modes and link settings unchanged. Other profiles, YUV and other source colour spaces retain their existing behavior. The production change has no diagnostic module parameter and is based on the latest aurora-wip head, including the suspend-admission fix.
Validation: independent adversarial source review found no blocker. Exact production source
7468369c1aa1754f5a42a0d4dde18838de4a6fbbpassed the full ARM64 Image/DT/modules build with W=1, Rust and 16K pages, and all six selected Apple DRM KUnit suites including the source-tag wire-offset assertions. The controlled R40 trial verified unchanged SDR transfer 13 and output modes; the owner confirmed normal colours on MSI and Acer, and MSI picture/cursor/colours survived a physical reconnect. Production R41 boot verified the same external sRGB/internal native tags by default, with no diagnostic colour parameter. Temporary qualification tracing was removed from the boot entry and disabled after capture.The repository-required LLM provenance trailers trigger checkpatch signature diagnostics; they are preserved. Other checkpatch findings are commit wrapping and the existing firmware-version comparison style. No GitHub CI checks are configured for this branch.
Scope: this fixes the observed SDR source-tag problem. Monitor EDID/name recovery, Acer 180 Hz, HDR and ICC/nonidentity-CTM accuracy are not claimed by this PR.