mesa/src/asahi/libagx
Faith Ekstrand 3aa4be52f3
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
poly: Make all heap allocations atomic
All non-atomic allocations are on pretty slow paths where we only have a
single invocation running.  This means they're technically thread-safe
(assuming only a single queue) but it also means the perf of a single
allocation doesn't matter much.  However, as a bunch of things are
becoming helpers that may or may not be run in parallel for things like
multi-draw, it becomes harder to know when non-atomic is safe.  We're
probably better off using atomic allocations everywhere.

Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
Reviewed-by: Mary Guillemard <mary@mary.zone>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38404>
2025-11-25 23:20:28 +00:00
..
compression.cl nir, asahi: commonize interleave_agx 2025-09-16 18:26:12 +00:00
compression.h libagx: port to common libcl.h 2024-12-12 21:16:12 +00:00
copy.cl libagx: add fast-clear kernels 2025-06-20 21:38:11 +00:00
draws.cl poly: Make all heap allocations atomic 2025-11-25 23:20:28 +00:00
geometry.cl poly: Make all heap allocations atomic 2025-11-25 23:20:28 +00:00
helper.cl nir,agx: unvendor core_id_agx 2025-08-07 11:46:33 +02:00
helper.h compiler: use libcl.h for CL 2024-12-12 21:16:12 +00:00
libagx_dgc.h libagx: add agx_vdm_barrier 2025-06-30 16:24:06 +00:00
libagx_intrinsics.h nir, asahi: commonize interleave_agx 2025-09-16 18:26:12 +00:00
meson.build poly: Migrate AGX's GS/TESS emulation to common code 2025-10-16 19:25:35 +00:00
query.cl libagx: port reset query helper to libagx 2025-08-03 14:41:11 -04:00
query.h asahi: clang-format 2025-04-01 17:42:51 +00:00
tessellation.cl poly: Make all heap allocations atomic 2025-11-25 23:20:28 +00:00
tessellator.cl poly,asahi: Rename poly_tess_args to poly_tess_params 2025-11-25 23:20:14 +00:00
tessellator.h poly: Migrate AGX's GS/TESS emulation to common code 2025-10-16 19:25:35 +00:00
texture.cl nir, asahi: commonize interleave_agx 2025-09-16 18:26:12 +00:00