Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
e871c03
soc: apple: rtkit: adopt a running session with its endpoint map
RyanTheTide Nov 22, 2026
abea85f
drm/apple: dcp: admit a firmware-27 DCP by its method table
RyanTheTide Nov 22, 2026
3563449
drm/apple: dcp: adopt a DCP that a boot stage handed over running
RyanTheTide Nov 22, 2026
86f405f
drm/apple: dcp: retrain an adopted DP2HDMI port's link
RyanTheTide Nov 22, 2026
8ee2b0b
dt-bindings: display: apple,dcp: describe a session handed over running
RyanTheTide Nov 22, 2026
e59f024
drm/apple: dpavservep: admit the MCDP29xx converters' AV service
RyanTheTide Nov 22, 2026
0ee2165
tools/asahi: check the RTKit import of an adopted session's endpoint map
RyanTheTide Nov 22, 2026
638611e
drm/apple: dcp: read a live DCP session from the RTKit handoff proper…
RyanTheTide Nov 22, 2026
63649b0
drm/apple: dcp: check a handed-over session before retaining it
RyanTheTide Nov 22, 2026
c170bcf
drm/apple: dcp: keep the DP2HDMI link wait fatal on a cold start
RyanTheTide Nov 22, 2026
3fa6ec5
drm/apple: dcp: stop a retained DCP's HDMI HPD interrupt at unbind
RyanTheTide Nov 22, 2026
b659e73
soc: apple: rtkit: refuse a retained buffer without its endpoint
RyanTheTide Nov 22, 2026
e2cc4ab
dt-bindings: display: apple,dcp: require the handed-over session's pr…
RyanTheTide Nov 22, 2026
372f94c
Merge remote-tracking branch 'aurora/integration/aurora' into m2mdf/2…
RyanTheTide Nov 23, 2026
7fa1b91
drm/apple: dpavservep: take a fixed output's AV service again after a…
RyanTheTide Nov 24, 2026
06e155e
tools/asahi: test the DP AV service admission across sleeps
RyanTheTide Nov 24, 2026
2e95be3
selftests: apple-dcp: give the AV admission scenarios their output kind
RyanTheTide Nov 24, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions Documentation/devicetree/bindings/display/apple,dcp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,50 @@ properties:
maxItems: 5
description: Loader-provided firmware ABI version used for IOMFB selection.

apple,rtkit-handoff:
$ref: /schemas/types.yaml#/definitions/string
enum:
- dcp-live-v1
description: |
Added by a boot stage that negotiated RTKit with this processor and
handed it over running. Such a firmware does not repeat HELLO or its
endpoint map, so the operating system takes over the session as
described by apple,rtkit-version, apple,rtkit-epmap and
apple,rtkit-buffers instead of starting RTKit again. Absent when the
processor was not left running.

apple,rtkit-version:
$ref: /schemas/types.yaml#/definitions/uint32
description: RTKit protocol version of the handed-over session.

apple,rtkit-epmap:
$ref: /schemas/types.yaml#/definitions/uint32-array
minItems: 8
maxItems: 8
description: |
Endpoints the firmware advertised for the handed-over session; word i
holds endpoints 32i to 32i + 31. Application endpoints are stopped at
the handover and are started again by the new owner.

apple,rtkit-buffers:
oneOf:
- type: boolean
- $ref: /schemas/types.yaml#/definitions/uint32-array
minItems: 5
maxItems: 20
description: |
The shared buffers of the handed-over session, in groups of five
cells as for other co-processors handed over running: system endpoint
number (1 crashlog, 2 syslog, 4 IOReport, 8 OSLog, each at most once),
device address high cell, device address low cell, size in bytes, and
1 if the firmware supplied the address (0 if the boot stage allocated
the buffer). The device address is the DART input address. Every
buffer lies inside one of the reserved-memory regions referenced by
memory-region, and that region maps it at the same address through
iommu-addresses, so the mapping survives the IOMMU taking over the
processor's page tables. Those regions are no-map. An empty property
records that the session has no shared buffers.

apple,j613-25g83-dcpext-handoff:
$ref: /schemas/types.yaml#/definitions/uint32
const: 1
Expand Down Expand Up @@ -578,6 +622,9 @@ required:
- mboxes
- iommus

dependentRequired:
apple,rtkit-handoff: [ 'apple,rtkit-version', 'apple,rtkit-epmap', 'apple,rtkit-buffers' ]

allOf:
- if:
not:
Expand Down
2 changes: 2 additions & 0 deletions drivers/gpu/drm/apple/dcp-internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,8 @@ struct apple_dcp {
struct iomfb_m4 *v26_6;
/* An adopted session has no confirmed firmware DMA stop boundary. */
bool retain_dma;
/* RTKit session handed over running by a boot stage (apple,rtkit-handoff) */
bool rtkit_adopted;
/*
* Allocates AFK rings where the DMA API cannot, on an adopted
* J713 external DCP whose DART only takes the retained allocator.
Expand Down
Loading
Loading