Skip to content

carry.toml: carry aurora-silicon/linux#3872 (DCP SDR BT2020_RGB fallback) - #558

Merged
maralcbr merged 1 commit into
integration/aurora-7.3from
carry/dcp-sdr-bt2020-fallback
Dec 2, 2026
Merged

maralcbr merged 1 commit into
integration/aurora-7.3from
carry/dcp-sdr-bt2020-fallback

Conversation

@maralcbr

@maralcbr maralcbr commented Dec 2, 2026

Copy link
Copy Markdown
Member

Carry merged upstream PR aurora-silicon/linux#3872 (c97b9dbff5b2, merge commit b8c3c45b90f8) onto integration/aurora-7.3 (intake = 4a42f3105002, tagged refs/tags/carry-input/3872-d111f97272cc -> d111f97272cc625640540485a1ca3ed7b674c9fb).

Why

Intake 4a42f3105002 (#554) pulls in aurora-silicon/linux#3052 (drivers/gpu/drm/apple/dcp-color.h), where dcp_select_color_mode() returns -EINVAL for automatic SDR Colorspace=BT2020_RGB (set by stock Hyprland 0.57 cm=edid on BT.2020-capable EDIDs) whenever a timing only has safe 8-bit YCbCr 4:2:0 sRGB/BT.601 modes (e.g. 4K60 HDMI 2.0 TVs). Without #3872, aquamarine/Hyprland loops atomic modeset commits (~1,000/s, ~2,800 GPU mailbox IRQs/s, ~64 W idle power) and the external HDMI output never comes up cleanly.

#3872 fixes this without weakening explicit overrides or HDR/safety filtering:

  • Allows SDR BT2020_RGB + AUTO to match safe BT2020_YCC entries (RGB still outranks YCbCr).
  • Routes automatic SDR BT2020_RGB fallback directly through a new filtered dcp_scan_color_modes() helper (never bypassing DCP_COLOR_FLAG_UNSAFE, sdr_usable/allow_unsafe_sdr, EOTF, or max_bpc via dcp_default_sdr_color()).
  • Accepts SDR BT2020_RGB alongside DEFAULT under AUTO/AUTO and (!max_bpc || max_bpc >= 8) on fixed 8-bit SDR pipes.
  • Expands tools/testing/selftests/drivers/gpu/apple-dcp/display.py coverage.

Retires automatically on the next upstream intake sync past b8c3c45b90f8.

Verification

  • Cherry-pick check: d111f97272cc625640540485a1ca3ed7b674c9fb (4a42f31 cherry-pick of c97b9dbff5b2, identical 149+/26- diff) cherry-picks cleanly with zero conflicts onto origin/carry/aurora-7.3.0-4 (ea21b9af9a4c -> tree a91b77f2ae41).
  • M4 Pro (J616S, T6040, v26.6 DCP) + LG SMART UHD 4K60 TV (HDMI-A-1) (b1202-144026-fde7 / j1202-144240-c43d): failed_to_commit=0, HDMI-A-1 active at 3840x2160@60 (timing_id=72, color_id=125 8-bit YCbCr 4:2:0 SDR Limited), GPU mailbox IRQs 2,798/s -> 0/s, idle power 64.01 W -> 6.96 W (performance) / 6.36 W (balanced).
  • M1 Pro (J314S, T6000, v13.5 DCP) cross-generation HDMI + DP control (b1202-144026-fde7 / j1202-184628-aa42): 3 displays active simultaneously (eDP-1 3024x1964@120 + HDMI-A-1 LG ULTRAWIDE 3840x2160@60 color_id=102 8-bit 4:2:0 SDR + DP-2 LG ULTRAWIDE 3440x1440@60 color_id=62 8-bit RGB sRGB SDR), failed_to_commit=0, 99.5% id CPU, 0/s GPU mailbox IRQs, 10.59 W total system power, zero DCP/DRM dmesg errors.
  • Upstream CI & review: All 9 CI checks green (apple-build, host-tests, KUnit dcp-fabric dcp-topology dcp-display, pr-text), Codex round 2 VERIFIED (01a234ff-9a90-7112-9100-bd8925627971), approved and merged upstream by DjDeveloperr.

Copilot AI balanced review requested due to automatic review settings December 2, 2026 09:39
@maralcbr
maralcbr merged commit bdac7f6 into integration/aurora-7.3 Dec 2, 2026
1 check passed
@maralcbr
maralcbr deleted the carry/dcp-sdr-bt2020-fallback branch December 2, 2026 09:44
@greptile-apps

greptile-apps Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

Confidence Score: 5/5RetriggerView in Greptile

[Medium impact] The manifest change appears safe to merge; no actionable issue was established.

Summary

Adds upstream PR #3872 to carry.toml to carry the Apple DCP fix for automatic SDR BT2020_RGB fallback.

  • Aurora 7.3 carries a fallback for automatic SDR color choices.

Reviews (1) · Last reviewed commit: "carry.toml: carry aurora-silicon/linux#3..." · Reviewed by Greptile

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Copilot review overview

1 open issue
What changed in this PR

Carries upstream aurora-silicon/linux#3872 into the integration carry list to address Apple DCP SDR BT2020_RGB auto-selection fallback issues that can cause infinite modeset retries on some HDMI 2.0 4K60 displays.

Changes:

  • Added a new [[carry]] entry for aurora-silicon/linux#3872 with the cherry-picked commit hash.
  • Documented motivation/impact and retirement note for the carry.
File Description
carry.toml Adds a new carry record referencing upstream PR #3872, including commit metadata and rationale.

Review effort: Lite

Comment thread carry.toml
pr = "aurora-silicon/linux#3872"
commit = "d111f97272cc625640540485a1ca3ed7b674c9fb"
commits = ["d111f97272cc625640540485a1ca3ed7b674c9fb"]
why = "Apple DCP external HDMI/DP (M1-M4): fall back to safe SDR via filtered catalogue scan when automatic SDR BT2020_RGB (Hyprland cm=edid) has no safe BT.2020 match, preventing an infinite modeset retry loop (~64 W idle vs ~6.4 W on 4K60 HDMI 2.0 TVs after intake #3052)"
omarchy-pkgs-merge Bot pushed a commit to omacom/omarchy-pkgs that referenced this pull request Dec 2, 2026
…DCP SDR fallback (#558) (#4508)

Pin linux-aurora and aurora-userpages to immutable tag aurora-7.3.0-5
(omacom/linux-aurora c731018151b1 on carry/aurora-7.3.0-5), built from
integration/aurora-7.3 (omacom/linux-aurora 87005e7e5393):
- Re-pins aurora-silicon/linux#3490 to 8ba26a7e7edc (omacom/linux-aurora#557):
  single-consumer G15 stats ring drain, PM suspend/resume ring drain, and
  M3 receive-ring load/store ordering (resolving the #3490 caveat tracked in #4397)
- Adds aurora-silicon/linux#3872 (omacom/linux-aurora#558): DCP auto SDR
  BT2020_RGB fallback to safe SDR on bandwidth-limited HDMI 2.0 timings
- Preserves intake 4a42f3105002 and all 23 carries from 7.3.0.aurora4-1

Signed-off-by: Marcelo Alcantara <maralc@gmail.com>
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.

2 participants