mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
lavapipe: populate AHB memory mapping
- before: total 116, skip 66, pass 36, fail 14
- after: total 116, skip 66, pass 38, fail 12
Fixes: cebb2bf266 ("lavapipe: Add AHB extension")
Reviewed-by: Lucas Fryzek <lfryzek@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36204>
This commit is contained in:
parent
faa71af431
commit
91c8372c67
1 changed files with 1 additions and 0 deletions
|
|
@ -131,6 +131,7 @@ lvp_import_ahb_memory(struct lvp_device *device, struct lvp_device_memory *mem,
|
|||
AHardwareBuffer_acquire(info->buffer);
|
||||
mem->android_hardware_buffer = info->buffer;
|
||||
mem->size = size;
|
||||
mem->map = device->pscreen->map_memory(device->pscreen, mem->pmem);
|
||||
mem->memory_type = LVP_DEVICE_MEMORY_TYPE_DMA_BUF;
|
||||
|
||||
return VK_SUCCESS;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue