Repository navigation
drm/asahi: keep G15 compatible with the shared G16 interfaces - #602
Conversation
Building G15 and G16 together exposes stale initializers and calls in the G15 adapter. Initialise the inactive G16 platform owner and preserve the RTKit default protocol negotiation and legacy shmem callback. Resolve timestamp handles through Buffer::firmware_mapping(), retaining the firmware mapping and rejecting CPU-only destinations. Pass no reserved region map when walking G15 host-allocated RAM page tables, matching the same shared API contract already used by G16. Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]> (cherry picked from commit a2b3221) Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
The convergence stack build is still waiting for a buildbox slot, because every slot is busy with other builds. It is buildbox |
|
The stack build passed: |
This carries a2b3221 from aurora-wip onto integration/aurora, as part of converging the two kernel lines.
With
CONFIG_DRM_ASAHI_G15=ythe G15 adapter no longer builds against the shared G16 interfaces. This fixes the stale initialisers (the G16 platform owner, the RTKit protocol version andshmem_setup_ep), resolves timestamp handles throughBuffer::firmware_mapping(), and passes no reserved-region map towith_root_entries(), as G16 does.asahi.config leaves G15 off, so the image the fleet ships is unchanged by this. Whether to turn G15 on in asahi.config is a separate decision for whoever owns that file.
Testing
CONFIG_DRM_ASAHI_G15=yso that this code gets compiled.🤖 Generated with Claude Code