Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
2d8c0fe
drm/asahi: mmu: make the secondary root of PublishedRoots optional
jgoyvaerts Oct 16, 2026
40507ba
drm/asahi: g17: support a single firmware coprocessor
jgoyvaerts Oct 16, 2026
750dd1a
drm/asahi: g17: describe the firmware build in a variant table
jgoyvaerts Oct 23, 2026
9038ef8
drm/asahi: g17: take the per-SoC tables from Config
jgoyvaerts Oct 23, 2026
24d1e5f
drm/asahi: g17: operating points with one voltage per cluster
jgoyvaerts Oct 23, 2026
1ef423a
drm/asahi: g17: register windows with several instances
jgoyvaerts Oct 23, 2026
f23df96
drm/asahi: g17: let the variant choose the init acknowledgement
jgoyvaerts Oct 23, 2026
39e990b
drm/asahi: mmu: firmware tables in no-map reserved memory
jgoyvaerts Oct 23, 2026
54eccc5
drm/asahi: mmu: per-SoC UAT cache, TLB and handoff policy
jgoyvaerts Oct 23, 2026
1baee97
dt-bindings: mailbox: apple,ascwrap-v6: Add the T6040
jgoyvaerts Oct 23, 2026
29a913a
soc: apple: mailbox: support the T6040 ASCWrap v6
jgoyvaerts Oct 23, 2026
d717a60
dt-bindings: gpu: apple,agx: Add apple,agx-t6040
jgoyvaerts Oct 23, 2026
abb36e8
drm/asahi: g17: 25G83 initialization layout
jgoyvaerts Oct 23, 2026
0d9efa5
drm/asahi: g17: render lead commands for the 25G83 firmware
jgoyvaerts Oct 23, 2026
f8dc198
drm/asahi: g17: 25G83 render and compute commands
jgoyvaerts Oct 23, 2026
20e5164
drm/asahi: g17: add the T6040 (M4 Pro)
jgoyvaerts Oct 23, 2026
92d0217
arm64: dts: apple: t6040: Add the GPU
jgoyvaerts Oct 23, 2026
0423123
Merge integration/aurora into the T6040 GPU series
jgoyvaerts Oct 23, 2026
b147e1f
arm64: dts: apple: t6040-j616s: Add the gpu alias
jgoyvaerts Oct 23, 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
145 changes: 110 additions & 35 deletions Documentation/devicetree/bindings/gpu/apple,agx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ properties:
- apple,agx-g13s
- apple,agx-g14g
- apple,agx-g14s
- apple,agx-t6040
- apple,agx-t8132
- apple,agx-t8140
- items:
Expand Down Expand Up @@ -51,8 +52,12 @@ properties:
- description:
Region containing a shared handoff structure for VM
management coordination
- description: Power calibration blob or firmware shared-L2 page
- description: GPU calibration blob or preserved firmware text
- description:
Power calibration blob, firmware shared-L2 page or firmware data
segment
- description:
GPU calibration blob, preserved firmware text or firmware
kernel-window page tables
- description: Shared global variables or preserved firmware data

memory-region-names:
Expand All @@ -61,8 +66,8 @@ properties:
- const: ttbs
- const: pagetables
- const: handoff
- enum: [hw-cal-a, shared-l2]
- enum: [hw-cal-b, fw-text]
- enum: [hw-cal-a, shared-l2, fw-data]
- enum: [hw-cal-b, fw-text, l2-pagetables]
- enum: [globals, fw-data]

apple,pmp:
Expand All @@ -71,6 +76,26 @@ properties:

operating-points-v2: true

apple,firmware-version:
$ref: /schemas/types.yaml#/definitions/uint32-array
maxItems: 3
description:
macOS version (major, minor, patch) whose boot firmware loaded the GPU
firmware, which identifies the firmware build. Filled in by the boot
loader.

apple,cs-opp:
$ref: /schemas/types.yaml#/definitions/phandle
description:
Operating-point table of the GPU's CS clock domain, one voltage cell per
state.

apple,afr-opp:
$ref: /schemas/types.yaml#/definitions/phandle
description:
Operating-point table of the GPU's AFR clock domain, one voltage cell
per state.

apple,firmware-abi:
$ref: /schemas/types.yaml#/definitions/uint32-array
minItems: 3
Expand Down Expand Up @@ -121,20 +146,45 @@ allOf:
else:
properties:
apple,pmp: false
- if:
properties:
compatible:
contains:
const: apple,agx-t8140
then:
properties:
reg:
items:
- description: GFX coprocessor control registers
- description: GPU block MMIO registers
reg-names:
items:
- const: asc
- const: sgx
mboxes:
items:
- description: GFX coprocessor mailbox
- description: GFX1 coprocessor mailbox
memory-region:
items:
- description: Region containing GPU MMU TTBs
- description: Region containing GPU MMU page tables
- description:
Region containing a shared handoff structure for VM
management coordination
memory-region-names:
minItems: 3
items:
- const: ttbs
- const: pagetables
- const: handoff
- const: hw-cal-a
- const: hw-cal-b
- const: globals
required:
- power-domains
- operating-points-v2
- if:
properties:
compatible:
contains:
const: apple,agx-t8140
const: apple,agx-t6040
then:
properties:
reg:
Expand All @@ -148,39 +198,64 @@ allOf:
mboxes:
items:
- description: GFX coprocessor mailbox
- description: GFX1 coprocessor mailbox
memory-region:
maxItems: 3
items:
- description: Region containing GPU MMU TTBs
- description: Region containing GPU MMU page tables
- description:
Region containing a shared handoff structure for VM
management coordination
- description:
Data segment of the loaded GPU firmware, where the firmware
places its crash log
- description:
Region in which the GPU firmware builds the page tables of
its kernel window
memory-region-names:
maxItems: 3
items:
- const: ttbs
- const: pagetables
- const: handoff
- const: fw-data
- const: l2-pagetables
required:
- power-domains
- operating-points-v2
else:
if:
- apple,cs-opp
- apple,afr-opp
- if:
not:
properties:
compatible:
not:
contains:
const: apple,agx-t8132
then:
properties:
reg:
items:
- description: GPU coprocessor control registers
- description: GPU block MMIO registers
reg-names:
items:
- const: asc
- const: sgx
mboxes:
maxItems: 1
memory-region:
minItems: 6
memory-region-names:
minItems: 6
required:
- apple,firmware-abi
contains:
enum:
- apple,agx-t6040
- apple,agx-t8132
- apple,agx-t8140
then:
properties:
reg:
items:
- description: GPU coprocessor control registers
- description: GPU block MMIO registers
reg-names:
items:
- const: asc
- const: sgx
mboxes:
maxItems: 1
memory-region:
minItems: 6
memory-region-names:
items:
- const: ttbs
- const: pagetables
- const: handoff
- const: hw-cal-a
- const: hw-cal-b
- const: globals
required:
- apple,firmware-abi

additionalProperties: false

Expand Down
26 changes: 20 additions & 6 deletions Documentation/devicetree/bindings/mailbox/apple,ascwrap-v6.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,23 @@
$id: http://devicetree.org/schemas/mailbox/apple,ascwrap-v6.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Apple T8140 ASCWrap v6 mailbox
title: Apple ASCWrap v6 GPU mailbox

maintainers:
- Ryan Murray <ryan@aurorasilicon.org>

description:
Mailbox interface of the T8140 GPU coprocessors. The wrapper resource
contains the coprocessor control registers and mailbox FIFOs. A separate
resource provides the coprocessor vector-base register. The firmware role
identifies which of the two GPU firmware instances uses the mailbox.
Mailbox interface of the GPU coprocessors of the T8140 and T6040. The
wrapper resource contains the coprocessor control registers and mailbox
FIFOs. A separate resource provides the coprocessor vector-base register.
The firmware role identifies which GPU firmware instance uses the mailbox;
the T6040 runs a single one.

properties:
compatible:
const: apple,t8140-ascwrap-v6
enum:
- apple,t6040-ascwrap-v6
- apple,t8140-ascwrap-v6

reg:
items:
Expand Down Expand Up @@ -57,6 +60,17 @@ required:
- '#mbox-cells'
- apple,firmware-role

allOf:
- if:
properties:
compatible:
contains:
const: apple,t6040-ascwrap-v6
then:
properties:
apple,firmware-role:
const: GFX

additionalProperties: false

examples:
Expand Down
Loading