Skip to content

drm/apple: Add bounded firmware-27 AFK framing - #253

Closed
DjDeveloperr wants to merge 1 commit into
apif-centauri-bluetoothfrom
apif-dcp-afk
Closed

DjDeveloperr wants to merge 1 commit into
apif-centauri-bluetoothfrom
apif-dcp-afk

Conversation

@DjDeveloperr

Copy link
Copy Markdown
Contributor

Adds firmware-27 AFK command/reply framing for the DCP display services. This is the transport prerequisite for the display firmware port; it does not enable a new DCP hardware profile by itself.

The public service pins, timeout-owned buffers, ring geometry and shutdown handling remain in place. Wire lengths and categories are checked before dispatch, remote requests are bounded, and successful replies must preserve the submitted DMA descriptors. Sixteen concurrent command slots use four-bit generation tags.

Validation: native arm64 AFK object build; host tests of the production framing and tag helpers with address/undefined-behavior sanitizers; git diff --check. Hardware qualification is pending. No AGX/GPU accelerator changes.

Depends on #252.

Add the compact command, reply and interface-report framing used by
firmware 27 while preserving service pins, timeout-owned DMA buffers,
ring geometry checks and shutdown handling.

Validate wire lengths before dispatch, limit remote service requests,
and keep all sixteen command slots with four-bit generation tags.
Reject successful replies that change the submitted DMA descriptors.

Signed-off-by: Dj <hey@djdev.me>
@DjDeveloperr

Copy link
Copy Markdown
Contributor Author

Superseded by #485, refreshed from the current T6050 source onto Linux 7.3 integration. The new shared base is #472; all feature PRs now target t6050/base. Closing this stale chained version and keeping its branch for history.

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