Repository navigation
drm/asahi: g17: name the owning process when a compute publication gives up - #3240
Conversation
…ves up The admission-expiry warning printed only the queue owner id, which is an internal counter and matches no process, so a give-up during a multi-client test could not be tied to the client that was waiting. Print the owning process's pid from the backend's context next to it. Signed-off-by: DjDeveloperr <[email protected]>
|
Merge readiness at
Areas: Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
There was a problem hiding this comment.
Verdict: FINISH, then merge at 2c3203e3
Blockers:
- Missing hardware boot row at head (
needs-hw-row). - Rerun the 17 cancelled CI checks so CI is green at head.
Checked:
drivers/gpu/drm/asahi/g17/runtime.rs:4107-4110: clean 2-line diagnostic formatting addition printing(pid {})fromself.context.owner_pid()inreport_admission_expiry(), keeping the existing rate limit and fields intact.
Evidence
- Diff reviewed at
2c3203e3(1 file, +5/-4 lines). - Code is ready; only a G17 boot row and green CI rerun remain before approval.
There was a problem hiding this comment.
Verdict: HOLD at 1797cc9c
Blockers:
- Hosted CI workflows (
apple-build,host-tests,pr-text, KUnit suites) are still running at1797cc9c. - Missing G17 hardware boot row at head (
needs-hw-row; noted underNot yet).
Checked:
- Forward merge
1797cc9contomainand full 1-file diff (drivers/gpu/drm/asahi/g17/runtime.rs,+5/-4): cleanly prints(pid {})fromself.context.owner_pid()inreport_admission_expiry(), keeping the existing rate limit (ADMISSION_REPORTS = 8) and all existing fields intact. - Verified
Context::owner_pid()remains present indrivers/gpu/drm/asahi/g17/context.rsat1797cc9c.
Evidence
- No code defects; ready to approve once hosted CI finishes green and a G17 boot row is recorded at head.
|
J700 (MacBook Neo, A18 Pro) at
|
RyanTheTide
left a comment
There was a problem hiding this comment.
Merge-train approval (last-push review of the merge-up delta, under the merge bar). 1797cc9c merges current main on top of the reviewed code. Rows: J700-exact-head(1797cc9), G17-only. Merging once hosted CI is green.
There was a problem hiding this comment.
Verdict: MERGE at 1797cc9c92fe
Converts this App's earlier review at the same head to an approval under the 12-01 merge bar (better than before and doesn't break; block only on a shown failure). No code blocker was found in it. The merge gate (a row on one Mac at this head + fast CI) is tracked by pr-readiness, not held here.
Checked: - Forward merge 1797cc9c onto main and full 1-file diff (drivers/gpu/drm/asahi/g17/runtime.rs, +5/-4): cleanly prints (pid {}) from self.context.owner_pid() in report_admission_expiry(), keeping the existing rate limit (ADMISSION_REPORTS = 8) and all existing fields intact.
- Verified
Context::owner_pid()remains present indrivers/gpu/drm/asahi/g17/context.rsat1797cc9c.
Follow-ups (not blocking): running CI; G17 boot row
|
Merging at |
What: the G17 "compute publication of owner N gave up after … ms" warning now also prints the owning process's pid, taken from the backend's context (
Context::owner_pid()). The owner id is an internal counter that matches no process, so during a multi-client run like the sync CTS (linux#3235) the warning couldn't be tied to the client that was waiting. Nothing else changes: same rate limit, same fields.Tested:
drivers/gpu/drm/asahi/builds with the asahi profile.Risk: two-way door. It only changes one warning's text, and nothing parses it.
Not yet: a J714s boot showing the new line. It will ride the next combined candidate that hits #3235.