Skip to content

selftests: apple-dcp: follow the PMP auxiliary buffer in ordered-rx - #598

Merged
RyanTheTide merged 1 commit into
integration/aurorafrom
fix/review1030-ordered-rx-pmp-aux
Oct 30, 2026
Merged

RyanTheTide merged 1 commit into
integration/aurorafrom
fix/review1030-ordered-rx-pmp-aux

Conversation

@RyanTheTide

Copy link
Copy Markdown
Contributor

What broke

The apple-dcp host selftests (tools/testing/selftests/drivers/gpu/apple-dcp/run.py) went from 80/80 to 79/80 on integration/aurora. Group 29, ordered-rx, no longer compiles.

It came in with #472 (the shared T6050 APIF platform base). That PR gave apple_rtkit_rx_work() in drivers/soc/apple/rtkit.c a registry-v2 branch for endpoint 7: if (rtk->pmp_registry_v2) apple_rtkit_pmp_aux_rx(...). The ordered-rx fixture extracts apple_rtkit_rx_work() into a host program. Its own struct apple_rtkit has no pmp_registry_v2 field, and nothing defines apple_rtkit_pmp_aux_rx():

host.c:431:12: error: no member named 'pmp_registry_v2' in 'struct apple_rtkit'
host.c:432:4: error: call to undeclared function 'apple_rtkit_pmp_aux_rx'

The kernel code is fine. Only the host fixture fell behind.

The fix

The fixture's struct apple_rtkit gets the field, and run.py stubs apple_rtkit_pmp_aux_rx() as unreachable, the same way it already stubs apple_rtkit_coreanalytics_rx() for that endpoint. No assertion changes.

Tested (buildbox, clang 22)

This is a test-only change, so it needs no hardware test.

🤖 Generated with Claude Code

#472 added a T6050 PMP registry-v2 path to apple_rtkit_rx_work(): endpoint
7 now goes to apple_rtkit_pmp_aux_rx() when rtk->pmp_registry_v2 is set.
The ordered-rx fixture extracts apple_rtkit_rx_work(), but its struct
apple_rtkit has no such field and nothing defines the new handler, so the
group stopped compiling and the apple-dcp host suite went from 80/80 to
79/80 on integration/aurora.

Give the fixture struct apple_rtkit the field and stub the handler the
way the CoreAnalytics one is stubbed, as unreachable in this fixture. No
assertion changes. The edid group also still passes on the tree before
#472, where the stub is unused.

Assisted-by: LLM
Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@RyanTheTide

Copy link
Copy Markdown
Contributor Author

Verified on buildbox: tools/testing/selftests/drivers/gpu/apple-dcp/run.py on this head (14b5515) passes 80/80, including 29 ordered-rx, which fails on integration/aurora 695d974. Test-only change, merging.

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