diff --git a/.pick_status.json b/.pick_status.json index db73c5a4e68..b1d4d5debfc 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -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 diff --git a/src/gallium/frontends/lavapipe/lvp_android.c b/src/gallium/frontends/lavapipe/lvp_android.c index 327c9323119..8a748db6152 100644 --- a/src/gallium/frontends/lavapipe/lvp_android.c +++ b/src/gallium/frontends/lavapipe/lvp_android.c @@ -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;