Files
stambha/third_party
Garvit Surana 68da5075ce fix(nouveau): bound a busy fence wait by the clock and look whether its GPU still answers each 10 ms of it, where a channel idle on a GPU off the bus spun until the step watchdog stopped it, as neither its 15 s timeout nor its once-a-tick look ever came due on jiffies that did not move
nouveau_fence_wait_busy() never blocks, and on Stela's Linux layer
jiffies move only when a task resumes or a service pass runs, so its
jiffies timeout and patch 0218's "once a tick" nvkm_device_gone() look
never fired inside one step. At a stop after an RTX 3050 Mobile left
the bus, nouveau_drm_shutdown() idled each channel through this wait
and the step watchdog ended it after 30 s, losing the end of the boot
log. The wait now also ends once what was left of the fence's timeout
has passed by ktime_get(), and looks at the device at once and then
each NOUVEAU_FENCE_GONE_MS of that clock, as r535_gsp_gone() does.
2026-11-25 16:44:10 +00:00
..