Skip to content

feat(odin3): package HDR, AutoHDR, and 8bpc output dithering - #13

Draft
enjihn wants to merge 4 commits into
armada-os:mainfrom
enjihn:autohdr/release11-final
Draft

feat(odin3): package HDR, AutoHDR, and 8bpc output dithering#13
enjihn wants to merge 4 commits into
armada-os:mainfrom
enjihn:autohdr/release11-final

Conversation

@enjihn

@enjihn enjihn commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds the package-side components required for native HDR and compositor AutoHDR on the AYN Odin 3.

  • Add opt-in support for the qualified EDID-less internal panel profile
  • Keep Gamma 2.2 HDR conversion in Vulkan when DRM hardware color management is unavailable
  • Filter advertised HDR formats against actual Vulkan surface support
  • Add per-layer AutoHDR with native HDR bypass and strict SDR eligibility
  • Add Quality scene analysis, broad-field limiting, temporal stabilization, gamut protection, near-black protection, and rendered-only feedback
  • Enable static ordered 8bpc DPU output dithering only on ayn,odin3
  • Run the Gamescope test suite during package builds
  • Record source and license provenance for every added patch

Scope and safety

The HDR and AutoHDR paths remain dormant without the paired Armada device profile and runtime controls. Unsupported inputs, unknown color states, system overlays, native HDR surfaces, and unqualified outputs bypass AutoHDR. Pipeline setup failure returns to the existing composition path.

The kernel change is limited to the ayn,odin3 machine identity. Other devices keep their existing behavior. Temporal dithering remains disabled, and this does not change panel initialization, DSI, DSC, or 10bpc transport.

Validation

  • The functional package commits were built for AArch64 as part of the combined Release 11 image
  • The complete Gamescope patch sequence applies cleanly to Gamescope 3.16.24
  • The kernel patch dry-run applies cleanly to Linux 7.0.11
  • Gamescope tests are enabled in the RPM check stage
  • Patch registration and package metadata checks passed
  • Merge preview against current main is conflict-free
  • The completed image was flashed and passed a full raw-device readback

Fresh-install Odin 3 acceptance is still in progress, so this PR is a draft.

Related work

This supersedes #7 and carries its native HDR package work forward with AutoHDR and Odin 3 output dithering. It pairs with virtudude/armada#164.

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