Commit Graph
334 Commits
Author SHA1 Message Date
Tyler Smith 41f2776a94 perf(gpu): stitch a new stitched library and list its functions in a job outside the turn, which the call's next run takes by a digest of its inputs 2026-11-12 00:15:40 -05:00
Tyler Smith 356b0c5b70 perf(gpu): read and digest a new library's bytes for about 2 ms at each of its calls before the turn, and share held libraries by digest instead of comparing bytes 2026-11-12 00:15:39 -05:00
Tyler Smith aa2d1e6727 perf(gpu): let a busy PE take a deferred job after 20 ms instead of 100 ms, and look again 1 ms after finding none due, so a job waits about a frame with every PE busy 2026-11-11 23:46:27 -05:00
Tyler Smith a872bc3ee5 perf(gpu): create every deferrable call's pipeline in a job that keeps it for the call's next run, so no cache lookup or shader load runs in a turn 2026-11-11 23:46:27 -05:00
Tyler Smith d04f44903e perf(gpu): make a new texture's kernel memory, its own or a new block, in a job outside the turn while its call is answered pending 2026-11-11 20:57:24 -05:00
Tyler Smith a3b4fb21aa feat(gpu): check every gate exit against a 5 ms target on the GPU EXIT line of each beat, with the count over it and check=ok or check=over 2026-11-11 20:56:00 -05:00
Tyler Smith 5eadc34d2a perf(gpu): bound a frontend call's wait for the turn without pumping Linux on the boot PE, and end it at once there while a call is posted to Linux 2026-11-11 20:56:00 -05:00
Tyler Smith b436165a7e perf(gpu): never run a deferred compile inside a guest's call; a busy PE takes one only between slices of user code after 100 ms, one per 25 ms 2026-11-11 20:56:00 -05:00
Tyler Smith 45e3ce6370 fix(gpu): keep the pipeline store in a crash-safe journal written while the guest runs through the staged store partition, so power loss, panics and forced stops keep the pipelines compiled before them 2026-11-11 20:55:32 -05:00
Tyler Smith a046e32360 feat(gpu): report pipeline store hits, compiles and the driver's creation time of each per beat on a GPU STORE line 2026-11-11 20:55:32 -05:00
Tyler Smith 6a98a225e3 fix(gpu): wait for a Turing-to-Ada GPU's firmware boot after its reset, by nouveau's bound, before nouveau reads its VBIOS, and print the state the old boot flow needs 2026-11-11 15:15:09 -05:00
Tyler Smith c5c8e456fe perf(gpu): answer the queue's own timeline from the completion marker also while held work completes on the late timeline, asking the driver only for that one 2026-11-11 15:15:08 -05:00
Tyler Smith 59fb1b53ea perf(gpu): let a marked Poll tell the backend which submissions finished, so it frees their command buffers without a timeline query per submission 2026-11-11 15:15:08 -05:00
Tyler Smith ec0c35f2b8 perf(gpu): keep the uploaded argument table when a set call rebinds the value already bound 2026-11-11 14:26:40 -05:00
Tyler Smith 0c4c340bd8 perf(gpu): reserve each upload chunk's staging bytes up front so filling it never reallocates 2026-11-11 14:26:40 -05:00
Tyler Smith 5a7cee2add perf(gpu): answer a guest's Poll from the completion marker without a driver query, also while held work keeps completion unpublished 2026-11-11 14:26:39 -05:00
Tyler Smith e1d61e6651 perf(gpu): have each submission write its serial to a host-coherent completion marker after its work, and publish completion from it on whichever PE advances the gate or polls, without waiting for the boot CPU's interrupt, Linux fence work and waiter 2026-11-11 03:52:33 -05:00
Tyler Smith bdcdd5c258 perf(gpu): bound the boot CPU's look to about 1 ms of destruction and upkeep and leave the rest for the next look, so a burst of releases no longer stalls PE0 for 100-300 ms 2026-11-11 03:13:05 -05:00
Tyler Smith 8b49142791 perf(gpu): make event semaphores ahead and destroy released ones and free memory on the boot CPU's look instead of in guest calls' turns 2026-11-11 03:13:05 -05:00
Tyler Smith 87bd89e844 perf(gpu): run an import's export and driver import and the frees of whole allocations outside the service's turn, with frontend calls never waiting for the outside lock 2026-11-11 03:13:04 -05:00
Tyler Smith 78a5b3ab7d fix(license): mark the Linux compatibility files that adapt GPL-2.0-only kernel code as GPL-2.0-only and keep the kernel files' copyright notices 2026-11-11 02:18:51 -05:00
Tyler Smith 4fc61cf600 test: use another GB203 device ID in GPU samples 2026-11-11 04:55:14 +00:00
Tyler Smith 4e535764a0 docs(driver-gpu): state the Metal facts inline instead of pointing to metal/README.md 2026-11-11 04:40:06 +00:00
Tyler Smith a533412ab9 docs(driver-gpu): drop links and citations of local design notes 2026-11-11 04:38:39 +00:00
Tyler Smith b8afc4706e chore(gpu): remove the unhooked NVIDIA open-RM port, its feature, xtask gpu nvidia, its check lane and the nvidia submodule 2026-11-11 04:35:52 +00:00
Tyler Smith bd49285e51 chore(gpu): remove the unbuilt native AMD and Intel GPU ports, keeping the hosted compiler probes Meson builds 2026-11-11 04:35:46 +00:00
Tyler Smith 932017e513 build: give every crate a description, the repository, the minimum Rust version and publish = false 2026-11-11 04:35:35 +00:00
Tyler Smith df78ee2c63 chore(license): mark Stela's own files GPL-2.0-or-later in their SPDX lines where they said MIT 2026-11-11 04:11:23 +00:00
Tyler Smith 1df6985708 test(xtask): bind the manual timing tests in the oracle manifest 2026-11-11 04:05:19 +00:00
Tyler Smith 5cf3c11536 perf(gpu): answer a frontend call Pending after 2 ms without the turn and report the longest gate exit in GPU EXIT and GPU LONG EXIT 2026-11-11 03:58:59 +00:00
Tyler Smith 1c3e300277 perf(gpu): fail only the command buffer whose submission the driver refuses, look from the waiter's timeline reading, cache imports, and skip event queries once values are reached 2026-11-11 02:53:00 +00:00
Tyler Smith 4b40e6ea04 fix(gpu): submit CPU-copy uploads ahead of a held carrier and never let an event's value go below a CPU signal 2026-11-11 02:53:00 +00:00
Tyler Smith 06bf6a45eb perf(gpu): mark the tiles fragments reach in a two-plane surface's working image and convert only dirty tiles at pass end 2026-11-11 02:52:59 +00:00
Tyler Smith c27e6c667b fix(gpu): close the completion waiter's file before the GPU stops, have a timed-out waiter look at the device while work awaits completion, and unload GSP at a level-3 PM transition 2026-11-11 02:52:57 +00:00
Tyler Smith 1f177fc3df perf(gpu): answer polls without a turn, ask the import memory type once, submit on Mesa's submit thread, read reached event values without the driver, and count imports and PES DEVICE MODELS 2026-11-11 02:15:01 +00:00
Tyler Smith a35acc572e fix(gpu): free each connection's released objects once its own command buffers that may read them complete, so held work no longer pins other connections 2026-11-11 02:15:01 +00:00
Tyler Smith c660424889 fix(gpu): answer zeros, reported once, for the GPU times of a command buffer that ended without writing them 2026-11-11 02:15:01 +00:00
Tyler Smith d77fa6e573 fix(gpu): keep the compile cache, stored NIR and compile lock on a device reopened after a loss and recall evicted NIR from the pipeline store 2026-11-11 02:15:00 +00:00
Tyler Smith 0b5b1735ac feat(gpu): mirror two-plane surfaces' planes, apply their plane state at commit, read exact codes, round blended halves and bound surface generations 2026-11-11 02:15:00 +00:00
Tyler Smith 83c7bff0ab fix(gpu): read framebuffer fetches of linear IOSurface attachments from their storage copy, as NVK renders them through a tiled shadow 2026-11-11 02:15:00 +00:00
Tyler Smith 83edffa313 feat(gpu): store two-plane 10-bit formats as codes with a reused working image, fit heaps as a Mac does, and keep released memory until held command buffers finish 2026-11-10 21:15:19 +00:00
Tyler Smith 5f40b40ae5 fix(gpu): reopen a lost device once no connection holds its objects, answer the lost epoch's open connections DeviceLost, and name what a channel's MMU fault address held 2026-11-10 17:44:47 +00:00
Tyler Smith 02d4a392ce feat(gpu): name the first heap nils in the log with the heap's use and the request, and count heap nils in GPU MEMORY 2026-11-10 17:44:36 +00:00
Tyler Smith fe2fd8016b fix(gpu): keep a gate fault for the call that met it, fail a deferred call whose record takes no Pending with its fault, fail a caller write that RAM refuses, and make an unread call again 2026-11-10 17:44:07 +00:00
Tyler Smith e493c4ecf6 fix(gpu): compile a tile pipeline for the largest square of threads its limit holds, check padded tile sides against that limit, and name the threads and limit in a refusal 2026-11-10 17:43:49 +00:00
Tyler Smith 90759111ce perf(gpu): keep only a thread's elements of SIMD-group matrices held in thread memory, a 32nd of the bytes 2026-11-10 16:14:31 +00:00
Tyler Smith c3b8a267f0 fix(gpu): hold command buffers at unpromised event waits per Metal queue and per segment, so buffers that signal each other mid-buffer across queues complete 2026-11-10 16:14:31 +00:00
Tyler Smith 68cdc6b056 feat(gpu): let a tile function take one explicit and one implicit imageblock, and write imageblock slices in tile functions 2026-11-10 15:52:36 +00:00
Tyler Smith 0041dd071a test(gpu): hold implicit-level samples and texel reads after a divergent early return to the Mac, with gradients taken before the branch 2026-11-10 15:52:22 +00:00
Tyler Smith ffc846f9be fix(gpu): keep calls separate when each passes its own thread memory holding pointers, as MPS kernels pass their stitched functions 2026-11-10 14:44:06 +00:00