mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-24 21:28:10 +02:00
When an allocation failure happens, the command buffer should be flagged as invalid, and anything using this memory from the CPU side should be skipped to avoid segfaults. For allocations going through memory pools owned by a command buffer we automate that with panvk_cmd_alloc_xx() macros. Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Rebecca Mckeever <rebecca.mckeever@collabora.com> Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com> Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com> Reviewed-by: John Anthony <john.anthony@arm.com> Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30969> |
||
|---|---|---|
| .. | ||
| panvk_vX_meta_desc_copy.c | ||