Use memory in the DMA context directly instead of via GoldfishAddressSpaceBlock

gralloc passes buffer handles between processes as a sequence of bytes,
we cannot pass instances of GoldfishAddressSpaceBlock this way.

In grallocs prior to gralloc30 (to be introduced) we passed ashmem
buffers between processes, gralloc30 will use only GoldfishAddressSpaceBlock
buffers.

Bug: 141385612
Test: build, boot
Change-Id: Ia817ef97cb8348be62af90d33a928fbf15336d84
Signed-off-by: Roman Kiryanov <rkir@google.com>
2 files changed