mesa/src
Tomeu Vizoso 16e15ee205 gallium: add pipe_ml_device, pipe_screen::get_ml_device()
For compiling models, we don't really need a context for a real device.

To support ML frameworks models in which compilation happens
ahead-of-time (AoT), add API for compilation that doesn't require a
pipe_context.

Add struct pipe_ml_device with function pointers for:
- ml_operation_supported: query operation support
- ml_subgraph_create: compile a subgraph
- ml_subgraph_serialize: serialize a compiled subgraph
- ml_subgraph_destroy: free subgraph resources

Move ml_operation_supported, ml_subgraph_create, and
ml_subgraph_destroy from pipe_context to pipe_ml_device.

Add pipe_screen::get_ml_device() to obtain the device.

Change pipe_ml_subgraph.context (pipe_context*) to
pipe_ml_subgraph.device (pipe_ml_device*).

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40167>
2026-03-25 16:58:05 +00:00
..
amd ac/nir/meta_cs_blit: use uint16 for coordinates to fix 64K blits 2026-03-25 09:39:20 +00:00
android_stub
asahi treewide: Enable lowering of primitive ID in a bunch of Vulkan drivers 2026-03-25 03:11:56 +00:00
broadcom treewide: Enable lowering of primitive ID in a bunch of Vulkan drivers 2026-03-25 03:11:56 +00:00
c11
compiler glsl: initialize PSIZ variable to NULL when adding pointsize 2026-03-25 19:51:16 +08:00
drm-shim
egl wsi/wayland: Use wl_fixes to destroy wl_registry 2026-03-12 16:24:33 +00:00
etnaviv etnaviv/ml: Skip all synthetic tests as we now have several real models 2026-03-23 12:57:09 +00:00
freedreno treewide: Enable lowering of primitive ID in a bunch of Vulkan drivers 2026-03-25 03:11:56 +00:00
gallium gallium: add pipe_ml_device, pipe_screen::get_ml_device() 2026-03-25 16:58:05 +00:00
gbm gbm: Make documentation for gbm_bo_map more explicit 2025-12-29 10:05:38 +00:00
getopt
gfxstream gfxstream: fixes to get Fuchsia headless to compile 2026-03-17 16:25:53 +00:00
glx glx: guard glx_screen frontend_screen member 2026-03-10 01:53:15 +00:00
gtest
imagination pco: fix encoding of fred's s0abs bit 2026-03-25 14:37:19 +00:00
imgui
intel vulkan/anv:Remove unused anv_clock_gettime 2026-03-25 09:23:33 +00:00
kosmickrisp Rename more sha and sha1 names to blake3 2026-03-23 07:03:28 +00:00
loader kmsro: wire Zink up as a fallback 2026-03-13 18:54:26 +00:00
mesa treewide: Enable lowering of primitive ID in a bunch of Vulkan drivers 2026-03-25 03:11:56 +00:00
microsoft treewide: Enable lowering of primitive ID in a bunch of Vulkan drivers 2026-03-25 03:11:56 +00:00
nouveau nak: Add support for load_primitive_id 2026-03-25 03:11:56 +00:00
panfrost panvk: remove a redundant conditional 2026-03-25 15:05:53 +00:00
poly panvk/csf: implement VK_EXT_primitives_generated_query primitive restart 2026-01-21 09:03:34 +00:00
tool intel: Include available counter descriptions in the perfetto counter spec 2026-03-06 08:47:16 +00:00
util ac/nir/meta_cs_blit: use uint16 for coordinates to fix 64K blits 2026-03-25 09:39:20 +00:00
virtio ci/venus: Skip crashing Android CTS test on ANV 2026-03-25 07:51:08 +00:00
vulkan vulkan: update ALLOWED_ANDROID_VERSION for api level 37 2026-03-25 02:23:09 +00:00
x11 x11: Add helper util to check for xshm support 2026-03-06 01:18:53 +00:00
.clang-format
meson.build gallium/dril: Don't use gbm if there is no gbm configured 2026-02-17 08:24:02 +00:00