Skip to content

drm/apple: fix washed-out H17P external SDR RGB output - #289

Merged
RyanTheTide merged 1 commit into
aurora-wipfrom
fix/h17p-external-srgb-source-20261013
Oct 13, 2026
Merged

RyanTheTide merged 1 commit into
aurora-wipfrom
fix/h17p-external-srgb-source-20261013

Conversation

@RyanTheTide

@RyanTheTide RyanTheTide commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

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 7468369c1aa1754f5a42a0d4dde18838de4a6fbb passed 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.

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
RyanTheTide marked this pull request as ready for review October 13, 2026 01:19
@RyanTheTide
RyanTheTide merged commit 6e1cbe0 into aurora-wip Oct 13, 2026
@RyanTheTide
RyanTheTide deleted the fix/h17p-external-srgb-source-20261013 branch October 13, 2026 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant