mesa/src/gfxstream
Gurchetan Singh feff86220c gfxstream: fix suballocation logic using u_mm
- mSize should be used rather than kHostVisibleHeapSize.
  Since kHostVisibleHeapSize is bigger, OOB errors occured.

- Freeing memory did not work.  Look up via the offset
  rather pointer.  Complain loudly if offset isn't found.

- Align to 4096 bytes (page size), like the old AEMU suballocator
  flow.

TEST=set deferredMapping = 0 and test via Cuttlefish

Reviewed-by: Marcin Radomski <dextero@google.com>
Reviewed-by: Aaron Ruby <aruby@qnx.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35323>
2025-06-04 17:24:24 +00:00
..
aemu gfxstream: fix signedness of shifts 2025-02-05 19:28:42 +00:00
codegen gfxstream: intercept vkCmdClearColor(...) and do linear->SRGB conversion 2025-06-04 17:24:23 +00:00
guest gfxstream: fix suballocation logic using u_mm 2025-06-04 17:24:24 +00:00
.clang-format gfxstream: add clang-format 2024-10-09 22:53:05 +00:00
meson.build gfxstream: guest: use internal version of AEMU headers + impls 2024-11-12 19:21:10 +00:00