Skip to content

drm/asahi: g17: read the QoS ID mask through its state lock in KUnit - #1211

Merged
RyanTheTide merged 1 commit into
integration/aurorafrom
fix/g17-qos-kunit-state
Nov 8, 2026
Merged

RyanTheTide merged 1 commit into
integration/aurorafrom
fix/g17-qos-kunit-state

Conversation

@RyanTheTide

Copy link
Copy Markdown
Contributor

#1176 (34b438d) moved QosIds.used into the locked QosState, but the KUnit test failed_client_construction_returns_every_qos_id still reads the old field. Since that merge, every KUnit build with DRM_ASAHI fails with E0615 (attempted to take value of method 'used'). The failure first showed in the kunit job of the aurora-wip sync #1210. This one-line test fix reads the mask through the state lock. It changes no driver code.

Test: KUnit arm64 with drivers/soc/apple/sep.kunitconfig, all suites, on the buildbox: 408 run, 406 passed, 2 skipped (config-gated). asahi_g17_qos_capacity passed 2/2.

🤖 Generated with Claude Code

Commit 34b438d ("drm/asahi: g17: fence recycled firmware identities
and storage") moved QosIds.used into the locked QosState, but
failed_client_construction_returns_every_qos_id still read the old
field, so every KUnit build with DRM_ASAHI failed with E0615
("attempted to take value of method `used`"). Read the mask through
the state lock.

KUnit arm64 (drivers/soc/apple/sep.kunitconfig, all suites): 408 run,
406 pass, 2 skipped (config-gated), asahi_g17_qos_capacity 2/2.

Fixes: 34b438d ("drm/asahi: g17: fence recycled firmware identities and storage")
Signed-off-by: Ryan Murray <81541646+RyanTheTide@users.noreply.github.com>
Assisted-by: LLM
@RyanTheTide
RyanTheTide merged commit 4fa3cc7 into integration/aurora Nov 8, 2026
1 check passed
@RyanTheTide
RyanTheTide deleted the fix/g17-qos-kunit-state branch November 8, 2026 10:46
RyanTheTide added a commit that referenced this pull request Nov 8, 2026
Brings #1211, the G17 QoS KUnit test fix.

Signed-off-by: Ryan Murray <81541646+RyanTheTide@users.noreply.github.com>
Assisted-by: LLM
RyanTheTide added a commit that referenced this pull request Nov 8, 2026
…Unit fix #1211)

Signed-off-by: Ryan Murray <81541646+RyanTheTide@users.noreply.github.com>
Assisted-by: LLM
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