mesa/src/gallium/include
Tomeu Vizoso db866eca28 gallium: pipe_tensor.resource → pipe_tensor.data
Change the tensor backing storage from pipe_resource* to uint8_t*.

This simplifies tensor data management by using raw memory pointers
instead of pipe_resource objects. Frontends allocate tensor data with
malloc() and drivers access it directly, removing the need for
pipe_buffer_map/unmap for tensor data access.

We initially used resources thinking that the NPU would want to directly
access the data in those tensors. It is clear now that all NPUs will
need the data to be compressed and reformatted in some way, so let's
drop the incovenient resources and just use allocated memory.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40167>
2026-03-25 16:58:04 +00:00
..
frontend Rename *_sha1 names to *_blake3 2026-03-23 07:03:28 +00:00
pipe gallium: pipe_tensor.resource → pipe_tensor.data 2026-03-25 16:58:04 +00:00
winsys radeonsi: remove the CP DMA workaround for sparse for GFX6-9 2026-02-17 14:47:41 +00:00
mesa_interface.h gallium: add PIPE_RESOURCE_PARAM_DISJOINT_PLANES 2025-09-15 09:39:19 +00:00