Commit Graph
333 Commits
Author SHA1 Message Date
Garvit Surana 7764acbe4f fix(i915): a kernel built with CONFIG_STELA says the GPU's clock against what RPS asked for and GT0_PERF_LIMIT_REASONS, every 30 s while the render engine is awake and at each heartbeat that finds it stuck, where only a reset said how fast the GPU ran and a power or thermal limit could not be told from a hang
MGKFN's i5-1235U Iris Xe hung with the GPU at 400 MHz of the 1200 RPS
asked for, which only the reset's line said. The render engine's
heartbeat now reads the actual and requested frequency, the RPS range and
the package's limit reasons (PROCHOT, thermal, RATL, VR thermal alert,
VR TDC, PL4, PL1, PL2 and the sticky log above them) and says them in one
line: at most every 30 s while it beats, and at each beat that finds a
heartbeat request stuck. Engines other than render say nothing.
2026-11-27 18:47:23 +00:00
Garvit Surana 74a81a5ad4 feat(gpu): say in a lost device's fault dump which span of each unfinished command buffer started and never ended, with its kind of work, indirect draws and the pipelines it bound, and mark 62 passes a command buffer instead of 30 (Mesa patch 0045), where dev64's dump named all 68 pipelines of the frame a 10.5 s hang was in and none of them as the one
dev64's test 4 boot lost its device at 1362.8 s: the GuC reset rcs0 for a
request queued 10543 ms before, at 1500 MHz, so a request that ran and
did not yield rather than a slow clock. The dump named command buffer
29382 and its 68 pipelines but could not say which pass hung, and with
30 marks WindowServer's Liquid Glass frames already spent their longest
spans after the 30th pass.

Each command buffer's timestamps (its start, the end of each pass and
dispatch group up to the mark limit, its end) are now read at the loss
without waiting: the first span whose start the GPU wrote and whose end
it did not is the work it was in. ANV answered every query read of a lost
device with VK_ERROR_DEVICE_LOST; Mesa patch 0045 lets a read that does
not wait return what the GPU wrote, from the pool's memory, which stays
mapped. A driver that answers nothing is named so. The line also counts
the span's indirect draws and dispatches, whose counts the GPU reads.
2026-11-27 11:51:04 +00:00
Garvit Surana d751da1d8e fix(gpu): say what a reset Intel render engine ran and how the GPU was clocked (Linux patch 0240), where dev64's and MGKFN's resets for a 7.5 s preemption timeout left no line naming the request, its batch or the GPU's frequency 2026-11-27 07:57:29 +00:00
Android-Artisan 738b71c4d5 fix(i915): name the ENOMEM that fails an execbuf or a VMA pin, with the execbuf's buffer count and flags and the pin's size, alignment and flags, rate limited (Linux patch 0238), where a boot whose Mesa submissions failed for memory said no allocation that refused
From PR #23, without its i915_vma_pin retry loop: its i915_gem_shrink
asked for a target of 0 pages, so it reclaimed nothing, and execbuf pins
through i915_vma_pin_ww, which the loop never reached.
2026-11-27 07:49:01 +00:00
Android-Artisan 6e8e413809 fix(gpu): settle ANV's execbuf ENOMEM as a refused command buffer, not a lost device, and bound Mesa's execbuf retries to about 0.3 s (Mesa patch 0044), where an ENOMEM ANV returns without making the submission's signals lost the Metal device and Mesa's retry loop held a processor for up to 17 s
ANV's execbuf can fail with ENOMEM without making any of the
submission's signals. The Metal device took every failed submission as a
loss. submit_and_settle now loses the device only for DeviceLost; another
failure fails just its command buffer: with no earlier segment submitted
its event signals are reached at once, and otherwise the flight stays
pinned until the submitted part completes, when Stela makes the signals
ANV never made, so nothing the GPU still reads is freed early.

Mesa patch 0044 lowers the execbuf ioctl wrapper's retries from 80
(about 16.7 s of sleeps) to 20 (about 0.3 s), and ANV answers a
persistent ENOMEM with VK_ERROR_OUT_OF_DEVICE_MEMORY after three tries
instead of marking its queue lost.

From PR #23, without its single-sample framebuffer check and its 4 MiB
heap headroom test.
2026-11-27 07:46:49 +00:00
Garvit Surana 4503eba4d5 merge fork/062-candidate (0.6.2 candidate 1) into fork/062-intel-test4 2026-11-27 07:37:10 +00:00
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
Garvit Surana dc2355fcf7 fix(gpu): take an i915_active node before its IRQs-off lock (Linux patch 0237), hand the engine the earlier boot's GuC record, start Alder and Raptor Lake P without the GuC unless --i915-guc on, and turn off panel self refresh and framebuffer compression, where every Mesa submission failed with -ENOMEM, the GuC fallback never ran and the stop never reached the panel
dev64-2, a second test build for the Raptor Lake P tester (8086:a7a0).

dev64-1's GuC started, then each of ANV's first EXECBUFFER2 calls failed
with -ENOMEM, 80 times over Mesa's 16.7 s retry budget (100 us times the
retry squared), and ANV reported VK_ERROR_DEVICE_LOST: no hang check, no
completed request. eb_move_to_gpu's _i915_vma_move_to_active reaches
i915_active_add_request, whose active_instance takes a new node with
GFP_ATOMIC under the tree's IRQs-off lock. Stela's slab serves a
nonblocking request only from a slot it holds ready and never grows a
cache for one, and the only blocking allocation from i915's active_node
cache, a barrier's preallocation, is skipped under GuC submission
(intel_context_active_acquire), so the cache never had a slot. Ashu's
a7ab failed the same way. Execlists would only have grown the few slots
its barriers take, short of an execbuf naming many buffers. Patch 0237
takes the node with GFP_KERNEL before the lock where the caller may
sleep, and says where an execbuf fails, its first passes and the first
user requests that complete. Stela's slab now says, once a cache, a
nonblocking allocation it finds no slot for and a growth with no backing.

The record dev64-1's boot 22 wrote was read by the loader in boot 23, but
the engine runs a copy of the image taken before any static was set, so
its log_file::earlier_guc was empty and the GuC started again. The record
now goes to the engine in the handoff, as serial_present does, and the
loader says the record it read. A test reads the record from boot 22's
own bytes.

On Alder Lake P (Raptor Lake P and U, Alder Lake N), --i915-guc auto, the
default, now starts i915 with enable_guc=0 ("INTEL GUC off (dev64-2)"),
so one boot tests execlists; --i915-guc on asks for the GuC and still
falls back the boot after a failure. Records of dev64-1 are passed over.

The stop's reason never showed: after i915 took the eDP panel the console
drew its front buffer with the CPU and sent no DIRTYFB, which panel self
refresh and framebuffer compression need to show a write. i915 and xe
now start with enable_psr, enable_panel_replay and enable_fbc 0.

--i915-guc is a hand-written override setup never writes, so the options
revision stays 13; the bundle revision stays 39 and the translator id is
unchanged.
2026-11-24 21:19:52 +00:00
Garvit Surana c571085f29 fix(gpu): take an i915 context's guc_id before submission_state's lock (Linux patch 0236), and start i915 without its GuC the boot after one whose GuC failed, or with --i915-guc off, where Raptor Lake P's GuC submission enable failed with -EAGAIN and left a wedged GT and no Metal device
A test build for one Raptor Lake P tester (Iris Xe 8086:a7a0). Its 0.6.1
boot logged "LINUX unsupported: cache allocation policy or context", then
"GT0: GuC initialization failed -11": new_guc_id's ida_alloc_range with
GFP_KERNEL under submission_state's IRQs-off spinlock needed a new IDA
bitmap and xarray node, the slab refused a blocking request there, and
steal_guc_id's -EAGAIN failed guc_init_submission on each of pin_guc_id's
four tries. Patch 0236 reserves the guc_id before the lock, where
pin_guc_id may sleep.

Any other GuC failure falls back by itself. i915 cannot be unbound and
probed again in the same boot (its unload is never run, and a failed
probe's IRQ line is retired), so the boot writes one record line,
"INTEL GUC RECORD failed device=XXXX cause=... build=dev64-1", the moment
i915 prints a GuC error (its start, a wedged GT, a CT error) or, at the
stop for want of a Metal device, as the Metal device's; and that stop
says "Intel graphics needs a second start; restart the PC". The next
boot reads the record back from the log as the Wi-Fi page's record is
read, and for the same device on Alder Lake P (Raptor Lake P and U,
Alder Lake N), Raptor Lake S or DG1 adds i915.enable_guc=0 (execlists,
host RPS and RC6), writing a kept-off record so the boots after it stay
without the GuC. A record of another device or build is passed over.
Each boot with such a GPU prints one INTEL GUC on, off or fallback line.

--i915-guc auto|off, auto unless given, is a hand-written override that
setup never writes, so the options revision stays 13; the bundle
revision stays 39 and no fingerprinted engine file changes.
2026-11-24 19:06:54 +00:00
Garvit Surana 21ec0f8b73 feat(amdgpu): log the link masks the SMU's PCIe override is made from, what they give it, and each forced level's table values, argument and answer on SMU 13.0.0 and 13.0.7, where a refused override left no line saying whether it was asked for lane 0
New Linux patch 0235, under CONFIG_STELA, in smu_smc_hw_setup and in
smu_v13_0_0/smu_v13_0_7_update_pcie_parameters' force-all-levels loop.
2026-11-24 14:57:31 +00:00
Garvit Surana 5318af1912 merge fork/build1c @b3a83b2c6 (tester build 1) into the experimental GPU branch, with fork/hybrid-scanout's --hybrid-scanout
Both sides kept where both added: --hybrid-scanout beside --asus-mode,
--gpu-aspm, --tlbi-keep, --host-core, --tier2 and --pack-preload in the
options, their errors, parsing, tests and mount_interface's notes;
amd_discovery beside acpi_hardware; the stop's firmware picture beside
tier 2's line; set_hybrid_scanout beside gpu::link::choose; the
integrated GPU's memory plan beside the pack preload's bounds.

The translation store passes the GPU plan to pack_budget and the
background preload to translations::read. The firmware counts keep the
GPU branch's per-port sums, its base now 93 files, 188,594,997 bytes,
with build1c's rtw88 RTL8821C firmware (BUILT_BUNDLE 469/442/120/93).
build1c's preload tests give pack_budget and sizes_with_room the
GpuMemory::Own the GPU branch's signatures take.
2026-11-23 17:24:19 +00:00
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 15e62270ae merge fork/next @21e10c4a1 (tester build 1) into the experimental GPU branch: the Stambha brand, X1's NVK-only fault dump, Bluetooth, the Wi-Fi menu, gate and claim, the hardware guards and Install caution, laptop-auto and the review fixes, beside amdgpu, xe and i915
Eight files conflicted; every resolution keeps both sides.

- gpu_status.rs (9 hunks), host_memory.rs, engine/gpu/before.rs,
  stela-driver-gpu lib.rs: gpu/intel's GPU-generic screen text (the GPU by
  its name, the drivers this build has, shown_by_copy(gpu)) in the fork's
  brand: Stambha and `stambha repair` where gpu/intel's words said Stela.
- storage.rs: gpu/intel's memory-plan census (plan_gpu_memory, gpu_census,
  gpu_plan) and the fork's census_pci, drawn_by_other and Install caution.
  drawn_by_other goes through H1's GpuStack::drawing (select, then draws),
  built on gpu/intel's admits, and answers the adapter with its revision
  too, for the HOST GPU line's market name.
- xe.rs: gpu/intel's admission (a GuC image and ANV opening the device);
  host_firmware.rs: gpu/intel's MAX_IMAGES 512 beside the 1 MiB manifest
  both sides have; bundle/tests.rs: gpu/intel's amdgpu, xe and i915
  selection tests (the fork's Raphael-only family test is for recipes this
  branch replaced).

Merged clean, fixed after the build: the fork's lost-device dump
(059d63ddf) read a render pipeline's bicubic variants as 3-tuples;
gpu/intel's f8b623bd7 gave them a topology class, so they are 4-tuples.
gpu/intel's other screen lines that said Stela (amd_metal's refusals,
selection's backend line) and gpu_step's and host_memory's expected text
now say Stambha.

The memory plan is as before (only its refusal's name changed). Interface
unchanged: bundle schema 4, OPTIONS_REVISION 13. Mesa patch 0043 (each
shader's program header and code) comes with fork/next.
2026-11-23 01:50:48 +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
Garvit Surana 5175697fd6 merge upstream/gpu/intel (with gpu/amd) into the experimental GPU branch: amdgpu+RADV and xe/i915+ANV beside NVK, the memory plan holding main's code budget, the pack's room and --code-window together with the integrated-GPU share, the display reserve and the fallback room
upstream/gpu/intel @164d332ee holds all of gpu/amd @eca683096: 181 commits
by Tyler Smith past main. Eleven files conflicted; five are upstream's own
(main against gpu/intel), six are the fork's.

Memory plan (upstream):
- host_memory.rs: sizes() takes gpu/intel's GpuPlan and plans through
  plan(); main's code budget is applied to every estimate inside plan
  (budgeted()), so the GPU's share, the apertures' tables and the fallback's
  room are planned against the heap the boot runs with. Applying it after
  plan() would shrink the heap under a fallback reserve sized for the
  larger one. sizes_with_room() takes the GpuPlan; pack_budget()'s fallback
  lack reads the budgeted heap too. The fork's with_window() is unchanged.
  With GpuMemory::Own and no fallback the plan is main's exactly.
- host_memory/tests.rs (33 hunks): the base suite keeps main's pre-budget
  staged() split over GpuMemory::Own; main's code-budget, small-host,
  --code-window and pack-room tests and all of gpu/intel's GPU-plan tests
  are kept. Five gpu/intel tables were measured before the budget and are
  recomputed: heap and code move by the same bytes, the pool, guest and
  GPU share do not; the fallback room grows on small hosts and every host
  keeps its 768M bound; NVIDIA's 16 GiB numbers are main's own
  (small_hosts_move_their_kept_code_into_the_window).
- system/memory.rs: one HOST MEMORY line with both sides' fields (window,
  kept, gpu, aperture, pages, fallback); the page bound is taken after
  --code-window; EngineMemory keeps kept_code and the GPU fields.
- system.rs: both destructured field sets and the handoff's union.
- engine/gpu/gate.rs: main's unmapping of a failed service's stack with
  gpu/intel's Result and its refusal of a stack that did not run; the
  services' GPU names (main) follow the spliced served list, so a
  fallback's services keep their names.

- xtask/src/gpu/radv/metal.rs (merged clean, built broken): gpu/intel's
  RADV host harness builds the Metal compiler Service without main's
  compose_kernel (0ae834ade); it now resolves stela_metal_compose_kernel
  from the hosted library as the linked path does.

The fork's (union, nothing dropped):
- handoff.rs: low_dma and wifi_saved beside gpu_share, gpu_pages,
  gpu_pages_held and gpu_census.
- stela-cli/Cargo.toml: intel-port beside the trackpad's workspace-check.
- bundle.rs: gpu/intel's cfg-gated slice with the fork's Realtek
  Bluetooth family.
- bundle/tests.rs, setup/firmware.rs, setup/tests.rs: BASE is the fork's
  92 files and 188,455,525 bytes (upstream's 88 and the Realtek files), so
  BUILT_BUNDLE is (468, 245.8) with both ports, (441, 240.3) AMD only,
  (119, 185.2) Intel only and (92, 179.7) without.

Interface unchanged: bundle schema 4, OPTIONS_REVISION 13, NOR 0x800000,
SEP 0x10000, boot bundle REVISION 39 on both sides.
2026-11-22 21:01:46 +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 412841cca1 fix(gpu): Meteor Lake, Arrow Lake and Lunar Lake keep their GSC firmware, which their media GT needs to enter C6, with one line saying so and the proxy's missing MEI component said at info level by i915 too (Linux patch 0234), where the boot turned the GSC off on every platform and those laptops' media GT never idled 2026-11-18 12:41:22 -05:00
Tyler Smith 1b9aa68efc fix(gpu): a laptop panel's PWM backlight that reads 0 when i915's or xe's display code starts, as the claim's reset can leave it, is lit at its highest level rather than the minimum, with one line per panel naming the level read, its maximum and minimum (Linux patch 0233), where the panel could come up lit but dim with nothing in the log 2026-11-18 12:41:22 -05:00
Tyler Smith c019473bd2 fix(ttm): a kernel built for Stela writes back the cache lines of pages a driver asks to have write-combined or uncached, as x86's change of their memory type does (patch 0232), where it changed nothing and a line dirtied when the page was cleared could later be written over what the GPU or the display put there 2026-11-18 12:26:51 -05:00
Tyler Smith 8af2e0ef5a fix(drm): a kernel built for Stela writes back cache lines as x86's does when a driver flushes them, with x86's clflush and clflushopt (patch 0231), where drm_clflush_pages, drm_clflush_sg and drm_clflush_virt_range warned once and flushed nothing, though i915 flushes with them every object the GPU or the display reads past the processor's caches 2026-11-18 12:26:51 -05:00
Tyler Smith 354eb021ba fix(gpu): xe gets the stolen memory of a Tiger Lake to Raptor Lake integrated GPU, which the boot reads by the early-quirk method Linux names for it and says in one line, with xe taking the resource as x86's early quirks fill it (patch 0230), where xe ran those GPUs without stolen memory and said so only at debug level 2026-11-18 12:26:51 -05:00
Tyler Smith 6586edf9ed fix(i915): a GTT mmap fills its object's pages with the page tables any kernel with an MMU has (patch 0229), where it was built only under Linux's x86 arch and elsewhere warned and mapped nothing 2026-11-18 12:26:51 -05:00
Tyler Smith 385d3956b7 feat(linux): the kernel services i915 calls, with out-of-memory and vmap purge notifiers run where Linux runs them, and bus window placement, task address space mappings and userptr pins refused once 2026-11-18 12:26:51 -05:00
Tyler Smith 2bbad20291 fix(i915): a kernel without the PMC mux driver says once that a Type-C port shows a display only where firmware set its mux, where such a port stayed dark without a word (patch 0220) 2026-11-18 12:26:51 -05:00
Tyler Smith 9e9b3e0047 fix(patches): linux 0202, 0216, 0217 and mesa 0036, 0038 keep the headers main holds byte for byte, where an export before the export's fix gave them UTC dates, long blob names, a new diffstat and no signature 2026-11-18 12:22:10 -05:00
Tyler Smith a2e66a30a7 fix(gpu): a GPU whose driver fails before it resets the GPU or starts its display gives the firmware's picture back to the boot, and a driver step that ended it is named in the log and on the screen, where every AMD claim gave that screen up for good and the log blamed a claim reset that never happened 2026-11-18 12:22:10 -05:00
Tyler Smith 9218d68100 fix(gpu): amdgpu decides PCIe speed switching by the host's processor as on Linux, read by CPUID, where Stela's build without CONFIG_X86 kept the switching on Intel hosts and Pinnacle Ridge that Linux turns off 2026-11-18 12:22:10 -05:00
Tyler Smith 802d952a09 fix(gpu): amdgpu reads the PCIe link of the port above the GPU, past an AMD card's own switch, as on Linux, where Stela's Linux had no bridge above any function and amdgpu capped every discrete GPU's PCIe power levels at 5 GT/s 2026-11-18 12:22:10 -05:00
Tyler Smith 25db2f2b91 fix(gpu): an AMD graphics core whose memory hub places VRAM past the GPU's address space, as one a previous owner left powered down reads all ones, fails amdgpu's probe with one line saying it does not answer and the boot goes on without that GPU, where its page tables hit a BUG in gmc_v10_0_get_vm_pde that ended the boot 2026-11-18 12:22:10 -05:00
Tyler Smith 66c3920bbc fix(gpu): an AMD GPU's IP discovery refusal names the word read and the signature it should be, with its size and offset, and says what NoAnswer, NotReady and InSystemMemory mean, in the claim's read and in amdgpu's, where the claim gave the first bytes alone and amdgpu named neither 2026-11-18 12:22:10 -05:00
Tyler Smith dca464f7d0 test(gpu): the image test runs ANV on i915's no-op shim as well as xe's, and an AMD and an Intel GPU in one program, each GPU's ioctls under its own kernel driver's shim, where ANV ran only on xe and every run had one kernel driver 2026-11-18 12:22:10 -05:00
Tyler Smith 3576e96b82 fix(amdgpu): the media engines (UVD, VCE, VCN, JPEG, VPE and the media scheduler) are left out at early init and their 52 firmware files are no longer pinned, where they took firmware and start time the Metal device never uses and a video decoder a previous owner left running failed the whole start 2026-11-18 12:22:08 -05:00
Tyler Smith 7c3394b024 fix(gpu): the Linux and Mesa series are as gpu export writes them, with full blob names, UTC dates, current hunk positions and no signature, where eight patches merged from pull requests differed and every export left a diff 2026-11-18 12:22:08 -05:00
Tyler Smith bd69ea299b fix(gpu): RADV lowers a fragment stage's primitive ID given as NIR to the input ACO takes, as for a SPIR-V stage, where a Metal fragment function reading its primitive ID reached ACO as a system value 2026-11-18 12:22:08 -05:00
Tyler Smith abda79f2c5 fix(gpu): ACO's optimizer releases the operands of each instruction that dies with a vector when it turns a split of the vector into a copy, so Metal functions build on GFX8 and GFX9, where the dead instructions' operands kept their uses and ACO aborted on its validation 2026-11-18 12:22:08 -05:00
Tyler Smith 35b565fc35 fix(gpu): RADV exposes shaderFloat16 on GFX8 by default, which runs it at single rate, so Polaris, Fiji, Tonga and Carrizo GPUs serve the Metal device, where they had float16 only by a driconf option and showed displays only 2026-11-18 12:22:08 -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