Skip to content

RFC: vkr: add FORCE_UDMABUF for native device memory allocations

Yiwei Zhang requested to merge zzyiwei/virglrenderer:vkr-udmabuf into master

This MR is based on olv's udmabuf commit, working around for host implementations currently not satisfying with CrOS's special requirement on device memory allocated from host visible memory type. Then we choose to switch from "allocate exportable memory" to "allocate udmabuf outside and import".

The last commit also works around another host implementation bug probably introduced before the Vulkan registry gets fixed.

/cc @olv @ryanneph

Edited by Yiwei Zhang

Merge request reports