mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-20 02:20:22 +01: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> (cherry picked from commit91c8372c67)
This commit is contained in:
parent
92c5ba8cf4
commit
aed6dca5aa
2 changed files with 2 additions and 1 deletions
|
|
@ -5504,7 +5504,7 @@
|
|||
"description": "lavapipe: populate AHB memory mapping",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "cebb2bf26623e31aa1fbab0e73c7e2a1e3cfe956",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -197,6 +197,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