Garvit Surana
71ff51765d
feat(gpu): log the GPU's temperature every beat as GPU THERMAL, from the sensor nouveau now reads each second beside GSP-RM's P-state (patch 0223), where nothing read the GPU's temperature and a GPU that dropped off the bus under load could not show whether it ran hot
...
Each perf round reads NV_THERM_I2CS_SENSOR_00 as gp100_temp_get() does;
nvkm_perf gains the register as last read, the temperature and the
beat's highest. "GPU THERMAL temp=52C max=55C power=unread" follows the
GPU PERF line every beat with a reading; a sensor that gives none (a
GSP-RM priv error or all ones) is said once with its register. Whether
GSP-RM leaves the sensor readable to the CPU is untested. Power is not
read: GSP-RM 570.144's headers hold no power monitor control.
2026-11-23 11:04:09 +00:00
Garvit Surana
dfda54be15
fix(nouveau): a GPU that stopped answering for good is no longer read or written, and every timer wait ends at once on it or on a timer that reads all ones (patch 0222), where a teardown of a GPU off the bus spun 30 s through VMM flush waits until the step watchdog stopped the boot
...
On the tester's boot 3 the GPU was gone at 531.7 s; from 609.8 s, after
NVK's device loss, a job ran tu102_vmm_flush() over and over, each a
stalled PTIMER, a "timeout" and a WARN at vmmtu102.c:51, until the step
watchdog stopped it at 640.6 s. Its rip, image+0x1f2653e, sits on an
lfence before a return (code 0faee85dc3), as after an MMIO read; the
0.5.0 image's symbols are not at hand to name the function. Patch 0222 makes the
nvkm_rd*()/nvkm_wr*() accessors give all ones and drop writes once
nvkm_device_gone() holds, ends nvkm_nsec() waits with -ENODEV before
their condition runs, ends a wait whose PTIMER reads all ones at once
(feeding nvkm_device_gone()), and warns for neither, so the boot
reaches the GPU-lost stop.
2026-11-23 11:04:09 +00:00
Garvit Surana
7f7259fb45
feat(gpu): NVK reports each shader's program header and machine code as pipeline executable representations, with the header's GPU address and whether the upload queue wrote it, where a release build had no way to show the SPH a GPU rejected
...
Mesa patch 0043: each executable lists "NAK program header" (the 128-byte
SPH from Turing on; none for compute), "NAK geometry program header" for a
mesh shader that has one, and "NAK binary", whether or not the pipeline
asked to capture its representations. Its statistics add "Program header
address" and "Uploaded by queue" (1 when the shader heap has no CPU
mapping, as on a laptop without Resizable BAR).
It changes libstela-nvk.a and so the pipeline store's compiler key: the
first boot of a build with it compiles its pipelines again.
2026-11-22 22:04:02 +00:00
Tyler Smith
cdc75e4dd4
fix(gpu): NVK binds an image plane a range of its own when no address range fits its memory's whole-memory kind alias, where the bind failed
2026-11-19 10:56:24 -05:00
Tyler Smith
feaed2941a
fix(nouveau): a panel whose backlight interface found no unique name says so in its backlight line, and one where neither control was found says that, where both said the driver prefers ACPI video (patch 0221)
2026-11-18 11:13:52 -05:00
Tyler Smith
71c3ec9972
fix(mesa): patches 0035 and 0037 carry the hunks they apply as after the series' earlier patches, where they were written against another tree, so every fetch then export rewrote them
2026-11-18 07:48:09 -05:00
Tyler Smith
6a9d7b5517
fix(nouveau): an Ada or Blackwell laptop panel gets the backlight control an Ampere one gets, a level of zero at registration is raised to the highest, and one line names the control with the level set and read back, or what was looked for (patch 0221), where Ada and Blackwell registered none and a panel their GPU drives stayed dark
2026-11-18 05:12:40 -05:00
Tyler Smith
3e9dbf8e7e
fix(nouveau): the GPU counts as off the bus only once BOOT_0 read all ones at every look for 1 s, and a silence that ends is said once with how long it lasted (patch 0219), where one all ones read ended the session for a GPU whose link only retrained
2026-11-17 19:44:53 -05:00
Tyler Smith
47c1fd438b
fix(nouveau): end fence and GSP RPC waits at once when the GPU stops answering MMIO and say once what its PCI configuration still answers (patch 0215), where a GPU off the bus spun each channel's teardown for 15 s and held each RPC 30 s until the step watchdog stopped the boot
2026-11-17 08:52:53 -05:00
Tyler Smith
d1dac905ca
fix(linux): the GPU ACPI series follows main's Linux series as 0215-0217 with GSP's DP backlight hooks, the backlight table and the system info's ACPI data, where it reused 0209-0212 and carried an eDP lighting and a DPCD patch the backlight class compiles out
2026-11-17 08:39:52 -05:00
kiki
2f08a77f29
fix(gpu): a laptop panel its discrete GPU drives gets its backlight, from the ACPI data boot reads for GSP-RM, where the panel stayed dark after the GPU's reset
2026-11-17 08:39:52 -05:00
Daniel Brooks
d90a67c676
fix(gpu): fail only a submission amdgpu refuses short of losing the context and keep a lost RADV device unreleased, where any refusal lost the device for every client and its reopen closed RADV's file in the turn every client waits on
2026-11-17 01:22:57 -05:00
Daniel Brooks
904afb729f
fix(radv): 0037 normalizes sine and cosine and lowers doubles in RADV shaders given as NIR, which ACO takes no other way
2026-11-17 01:22:57 -05:00
Daniel Brooks
49b3241ad0
fix(radv): 0036 gives ACO programs no debug callback until one is set
2026-11-17 01:22:57 -05:00
Daniel Brooks
52ed682817
fix(radv): 0035 lowers the point coordinate to its input in RADV shaders given as NIR, which ACO takes no other way
2026-11-17 01:22:57 -05:00
Daniel Brooks
ce257168be
fix(linux): copy I/O memory 32 bits at a time and offer amdgpu no write-combined GTT (patch 0214), where byte-wide copies took four bus round trips per word of amdgpu's memory training save and a USWC buffer's client mapping aliased a write-back kernel mapping the GPU did not snoop
2026-11-17 01:22:57 -05:00
Daniel Brooks
c8096161a8
feat(radv): advertise VK_KHR_unified_image_layouts from GFX10.3, which Stela's Metal device requires
2026-11-17 01:22:57 -05:00
Daniel Brooks
c0f20efd66
feat(radv): take a stage's NIR from VkPipelineShaderStageNirCreateInfoMESA, run every stage in wave32 from GFX10, and report dynamicPrimitiveTopologyUnrestricted
2026-11-17 01:22:57 -05:00
Tyler Smith
566b72cb8a
fix(gpu): RADV builds a stage given as NIR in VkPipelineShaderStageNirCreateInfoMESA, as Mesa's common pipelines do, from a clone that takes the device's options, and radv-test builds such a pipeline through ACO on each of its 9 devices, where RADV skipped the stage and compiled zero words of SPIR-V for every Metal pipeline
2026-11-16 16:32:13 -05:00
Tyler Smith
823ae097a7
fix(intel): ANV reads storage images without a format below Gfx12.5 through its shader conversion by default, so Tiger Lake to Raptor Lake give Metal read-write texture tier 2, and anv-test builds a pipeline from NIR through BRW per platform, where the conversion was on only for Android and the Metal device refused Gen12.0 (Mesa patch 0030)
2026-11-16 16:32:13 -05:00
Tyler Smith
f6d98dbc84
fix(xe): a kernel without register maps runs a discrete GPU without its I2C controller, as on a part that has none, where xe's probe failed the whole GPU on the refusal (Linux patch 0212)
2026-11-16 16:32:13 -05:00
Tyler Smith
a5a7c8d827
fix(xe): a kernel without CONFIG_PM counts xe's device as active for its conditional runtime PM references, as i915 does, where pm_runtime_get_if_active answered -EINVAL and xe never read the GuC's replies
2026-11-16 16:32:13 -05:00
Tyler Smith
25c6e0cecd
fix(nouveau): GSP-RM 570.211.01 gets 570.144's system info through one shared fill plus its three new fields, a behind-bridge flag as OpenRM sets it and its own notify-op surface, where a copied structure carried a bus-number guess and every GSP chip allocated the surface
2026-11-16 16:32:13 -05:00
Tyler Smith
c0a555fb43
fix(xe): a user fence asked by a caller without an address space, which every Stela task is, is refused with one warning by a patch of xe_sync.c, where xe took the caller's null mm and faulted before any trap
2026-11-16 10:41:49 -05:00
Tyler Smith
cdf607996a
build(gpu): the Linux sparse set holds xe, the i915 display code it shares and the library sources xe's Kconfig entries select
2026-11-16 10:41:49 -05:00
Tyler Smith
d970f08f43
test(gpu): cargo xtask gpu radv-test builds RADV for the host with the image's options and runs it over Mesa's amdgpu no-op DRM shim through Stela's libdrm stand-in and libdrm_amdgpu from its unchanged sources, creating the device, compiling an ACO compute pipeline and submitting one dispatch for nine AMD GPUs from GFX8 to GFX12, each amdgpu ioctl counted and checked against Stela's amdgpu
2026-11-16 10:41:48 -05:00
Tyler Smith
fb806f922a
feat(gpu): the image's Mesa build adds RADV with ACO as one more entry of its driver table when the build host has the tools, with libdrm_amdgpu built from libdrm's unchanged sources over the DRM calls compat/mesa/drm.c serves, RADV's entry and its clashing symbols under their own names, and RADV's own NIR options for metal::amd::DRIVER, with tests; AMD's stack still gives no Vulkan driver
2026-11-16 10:41:48 -05:00
Tyler Smith
912ce9c992
feat(linux): the profile selects HWMON, BACKLIGHT_CLASS_DEVICE and POWER_SUPPLY with unchanged hwmon.c and backlight.c as captured units of DRM's level that register their classes, class registration, device_match_name, i2c_verify_client and an empty power supply class; for nouveau nouveau_hwmon.c compiles its hwmon registration, the DP helper its eDP backlight, and its open imports gain the traps class_find_device and device_find_child
2026-11-16 10:41:48 -05:00
Tyler Smith
8e516f1b50
feat(linux): the profile selects DRM_CLIENT, DRM_CLIENT_SELECTION and DRM_PANEL_BACKLIGHT_QUIRKS with unchanged drm_client.c, drm_client_event.c, drm_client_modeset.c, drm_client_sysrq.c and drm_panel_backlight_quirks.c in the DRM archive; for nouveau the DRM core's client hotplug, restore, suspend and resume events walk the device's client list, which holds no client, where they were empty inlines, and its open imports are unchanged
2026-11-16 10:41:48 -05:00
Tyler Smith
f6e76cbc3e
feat(linux): sscanf and the simple_strto family are Linux's unchanged lib/vsscanf.c, which a minimal patch moves out of vsprintf.c, with a hosted test, where only simple_strtol had a reader of the layer's own
2026-11-16 10:41:48 -05:00
Tyler Smith
05042cd918
feat(gpu): the shared DRM build holds the unchanged drm_buddy.c, drm_suballoc.c, drm_dsc_helper.c and drm_hdcp_helper.c, and drivers/gpu/buddy.c as a captured unit of DRM's level with CONFIG_GPU_BUDDY; for nouveau the image gains the buddy allocator's initcall, which makes its block cache, and its open imports are unchanged
2026-11-16 10:41:48 -05:00
Tyler Smith
3692ddf772
feat(linux): the shared archive holds Linux's unchanged lib/kfifo.c, mm/mempool.c, lib/math/gcd.c, lib/bitmap-alloc.c, kernel/time/timeconv.c and kernel/locking/semaphore.c
2026-11-16 10:41:48 -05:00
Tyler Smith
a57fa04db6
feat(gpu): the amdgpu-port feature compiles the unchanged amdgpu driver and its display core from their own makefiles in the Linux environment and checks its imports against a list by service, with the unit and the Kconfig selections that wait for services named in the build
2026-11-16 10:41:48 -05:00
Tyler Smith
ed4f478bac
test(gpu): cargo xtask gpu anv-test builds ANV for the host with the image's options and runs it over an xe no-op DRM shim through Stela's libdrm stand-in, creating the device, compiling a BRW compute pipeline and submitting one dispatch for six xe platforms, each xe ioctl checked against Stela's xe
2026-11-16 10:41:48 -05:00
Tyler Smith
c774ad1c2b
feat(linux): CONFIG_IRQ_DOMAIN with Linux's unchanged irqdesc.c, handle.c, chip.c, dummychip.c, irqdomain.c, msi.c, resend.c and spurious.c over the layer's irq.c: a line a driver maps in a domain is numbered above the owners' lines and reaches its requests through its descriptor's flow handler, with disable_irq and enable_irq for both kinds and a hosted test; for nouveau the archive gains these eight units, struct device and irq_data gain the MSI and parent pointers that PCI_MSI's selections GENERIC_MSI_IRQ and IRQ_DOMAIN_HIERARCHY add, and its open imports are unchanged
2026-11-16 10:41:48 -05:00
Tyler Smith
90907075e5
feat(linux): a driver's managed resources are Linux's unchanged drivers/base/devres.c, with resource groups, managed memory and strings, where the layer kept its own list of managed actions; is_kernel_rodata takes the platform's answer as kstrdup_const does
2026-11-16 10:41:48 -05:00
Tyler Smith
90ea7c1780
fix(nouveau): give GSP-RM the MNOC and kernel log regions only on GB20x, where every family with a WPR OS carveout, Turing to Ada on 570.144 included, got them
2026-11-16 08:42:21 -05:00
Anand Sagar
ed8c408120
feat(gpu): boot Blackwell GB20x GPUs on GSP-RM 570.211.01
2026-11-16 08:42:21 -05:00
Tyler Smith
67d8e83aac
fix(nouveau): a channel's MMU fault report judges the address by the mappings when GSP-RM reported the fault and marks each history entry before or after that report, where it judged by the mappings at the client's next submission and called a range read after its unbind and mapped again since lost page tables
2026-11-15 20:58:39 -05:00
Tyler Smith
3c7160255b
perf(gpu): a plain global store is weak in NAK and the Metal suite checks store order and times stores and loads in Shared and Private buffers, where every plain store was strong at GPU scope
2026-11-15 17:28:33 -05:00
Tyler Smith
088cf2ef4e
fix(gpu): device fences and acquire or release atomics in a translated shader keep their GPU membar and cache control, and workgroup barriers keep bar.sync with a CTA membar, where NAK dropped every memory mode of a barrier whose accesses had no derefs and removed the fence
2026-11-15 17:28:33 -05:00
Tyler Smith
05be1c04b0
feat(gpu): GPU PERF shows the GPU's PCIe link speed, width, speeds seen, maximum and ASPM next to its P-state, and sampling goes on reading the link after RM refuses the P-state control, where nothing read the link RM moves with the P-state
2026-11-15 16:13:48 -05:00
Tyler Smith
29a359c4a1
fix(nouveau): a new BO is created without waiting on its reservation object's fences, where a BO that is not shared waited for every job on its VM and a GEM_NEW in a commit lasted as long as the GPU work in flight, up to 80 ms
2026-11-15 11:12:57 -05:00
Tyler Smith
c7eadaba55
fix(gpu): report only the P-state in GPU PERF, where nouveau asked GSP-RM 570.144 for clock samples in the 615.78.08 layout every second and RM refused it (error -22)
2026-11-15 09:13:45 -05:00
Tyler Smith
1a785da867
feat(gpu): log the GPU's P-state and GPC and memory clocks from GSP-RM in GPU PERF at the first beat and when they change, where nothing read the GPU's performance state
2026-11-15 05:29:51 -05:00
Tyler Smith
12fc4d9463
fix(nouveau): read a DisplayPort sink's EDID again without zero-sized AUX transfers only when the first read over GSP-RM gives none, where every GSP-RM GPU read that way and a sink's EDID blocks past the second were lost
2026-11-14 21:59:18 -05:00
Tyler Smith
dc49547609
fix(nouveau): end each I2C read over a GSP-RM DisplayPort AUX channel with MOT cleared and send no address-only transfer, as NVIDIA's DisplayPort library reads EDID, where GSP-RM turned drm's read-ending bare address into a write and a 1440p monitor on DisplayPort answered every EDID read 14 bytes in
2026-11-14 20:27:23 -05:00
Tyler Smith
59c82e7810
fix(nouveau): turn the display off and free every channel before GSP unloads at power-off, and unload at level 0 as upstream does on removal, where a level-3 unload with nothing saved and the display lit went unanswered
2026-11-14 05:03:25 -05:00
Tyler Smith
f5a639d3f6
fix(nouveau): end the GSP unload wait when GSP reports a fatal state by its HALT interrupt, and report how far its logs advanced
2026-11-14 01:33:59 -05:00
Tyler Smith
984a2c6b72
fix(nouveau): keep smaller pages' page tables linked when a large-page unmap or release runs after their reference
2026-11-11 15:56:37 -05:00