mesa/src/gallium/drivers
Tomeu Vizoso f0e4ccf664 ethosu: handle NULL bias tensor in convolution
PyTorch Conv2d without explicit bias produces a NULL bias_tensor
in the Gallium pipe_ml_operation. Guard against NULL dereferences
in two places:

- ethosu_lower.c: pass NULL to fill_coefs when bias_tensor is NULL
- ethosu_coefs.c: treat missing biases as zero

Fixes crashes when running Conv2d models without bias through the
Ethos-U NPU backend.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40578>
2026-03-27 09:33:52 +01:00
..
asahi Rename *_sha1 names to *_blake3 2026-03-23 07:03:28 +00:00
crocus gallium: kill off pipe_surface::context 2026-03-23 16:58:15 +00:00
d3d12 gallium: add a pipe_context param to pipe_surface_reference() 2026-03-23 16:58:15 +00:00
ethosu ethosu: handle NULL bias tensor in convolution 2026-03-27 09:33:52 +01:00
etnaviv gallium: add pipe_ml_device, pipe_screen::get_ml_device() 2026-03-25 16:58:05 +00:00
freedreno freedreno: delete pipe_context surface hooks 2026-03-23 16:58:13 +00:00
i915 gallium: kill off pipe_surface::context 2026-03-23 16:58:15 +00:00
iris Rename *_sha1 names to *_blake3 2026-03-23 07:03:28 +00:00
lima gallium: kill off pipe_surface::context 2026-03-23 16:58:15 +00:00
llvmpipe llvmpipe/ci: document regressions 2026-03-23 23:38:32 +00:00
nouveau nv50,nvc0: Avoid uninitialized cbuf reads in blits 2026-03-25 17:48:43 +00:00
panfrost pan: change image2DMSArray lowering to use Z instead of Y 2026-03-25 15:05:53 +00:00
r300 r300/ci: update expectations 2026-03-23 21:06:32 +00:00
r600 gallium: kill off pipe_surface::context 2026-03-23 16:58:15 +00:00
radeonsi radeonsi: advertise GL_NV_timeline_semaphore 2026-03-26 14:26:56 +00:00
rocket gallium: add pipe_ml_device, pipe_screen::get_ml_device() 2026-03-25 16:58:05 +00:00
softpipe softpipe: delete pipe_context::create_surface 2026-03-23 16:58:11 +00:00
svga svga: move surface context member onto internal surface type 2026-03-23 16:58:15 +00:00
tegra tegra: delete pipe_context surface hooks 2026-03-23 16:58:13 +00:00
v3d gallium: kill off pipe_surface::context 2026-03-23 16:58:15 +00:00
vc4 gallium: kill off pipe_surface::context 2026-03-23 16:58:15 +00:00
virgl Rename more sha and sha1 names to blake3 2026-03-23 07:03:28 +00:00
zink zink/ci: Move zink-tu-a618 to sc7180-trogdor-kingoftown 2026-03-24 15:22:12 +00:00