Skip to content

drm/asahi: g17: log capacity refusals at info level, not as warnings - #1977

Merged
DjDeveloperr merged 1 commit into
integration/aurorafrom
djdev/g17-capacity-refusal-info
Nov 16, 2026
Merged

DjDeveloperr merged 1 commit into
integration/aurorafrom
djdev/g17-capacity-refusal-info

Conversation

@DjDeveloperr

@DjDeveloperr DjDeveloperr commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

The driver logs a line when a submission or a queue creation is refused a limited resource (GPU address space for a render pool, a queue slot, a render pair, and so on):

G17 capacity refusal LowerVa count=... at g17/...

Most refusals are retried: a submission gives idle capacity back and waits, a queue creation waits for a closing queue, and an address search moves on to the next hole. The retry usually succeeds. When a wait runs out, queue creation fails with an error, and a submission fails its fence and is logged once as a lost device of that client. The refusal line was logged as a warning all the same, so a busy but healthy system printed warnings from normal operation: for example when a render pool did not fit until idle queues gave theirs back.

Change

  • The refusal line is logged at info level.
  • Unchanged: its rate limit (the first and every power-of-two refusal per site), the per-site refusal counters in the capacity snapshot, and the report of a submission that fails.

Testing

🤖 Generated with Claude Code

Most capacity refusals are retried: a submission gives idle capacity
back and waits, a queue creation waits for a closing queue, and an
address search moves on to the next hole. The retry usually succeeds.
When a wait runs out, queue creation fails with an error, and a
submission fails its fence and is logged once as a lost device of that
client. The refusal line itself was logged as a warning, so a busy but
healthy system printed warnings from normal operation, for example when
a render pool did not fit until idle queues gave theirs back.

Log it at info level. Its rate limit (the first and every power-of-two
refusal per site) and the per-site counters in the capacity snapshot
are unchanged.

Signed-off-by: Diljit Singh <[email protected]>
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