Repository navigation
drm/asahi: g17: say why the watchdog gave up on a command - #1926
Merged
Merged
Conversation
When the watchdog stops renewing a published command, the client loses its device with ETIMEDOUT and the kernel log has one line that names the client. Nothing says which of the watchdog's grants ran out, so a command that was failed at its first poll on a busy GPU looks the same as one that hung for 30 s. Log one more line at that decision: the command's allowance and how long it has been at the head of its queue, the long-work and sharing renewals it used and their limits (or that the GPU's watchdog does not renew for sharing), how long ago a command had last retired when the sharing renewal was decided, how many polls it was deferred behind older or pending work, how many it was excused behind other clients' work, and whether it was spared or failed as its own. The first eight of a boot report. No decision changes. Commands still in publication are not failed here and get no line. Signed-off-by: Diljit Singh <[email protected]>
Contributor
Author
|
Merging on green host tests, to be verified after the merge.
🤖 Generated with Claude Code |
m0d16l14n1
added a commit
to m0d16l14n1/linux
that referenced
this pull request
Nov 15, 2026
…t-next G17 stability: aurora-silicon#1926 watchdog reason, aurora-silicon#1925 closed-client teardown, aurora-silicon#1946 kept-graph pool pages, aurora-silicon#1948 reclaim idle render pools; configs: aurora-silicon#1938, aurora-silicon#1939 shared defaults.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When the scheduler watchdog fails a published command, the client sees a lost device with ETIMEDOUT, and nothing in the kernel log says which allowance ran out. A command can be failed after its own allowance, after the renewals for long work, after the renewals a shared GPU gives, or after waiting behind another client's work, and the fix differs for each.
Change
Testing
🤖 Generated with Claude Code