On 26/07/21 10:19, Gerd Hoffmann wrote:
On Fri, Jul 23, 2021 at 05:07:52PM +0200, Antonio Caggiano wrote:
I added it to the gpu hostmem at the offset specified by the map command. I
enabled the subregion, and then I used subregion->addr for the vkMapMemory
call.
Hmm, no. I'd suggest to first vkMapMemory into qemu address space, then
pass the address of the mapping to memory_region_init_ram_device_ptr().
Awesome, indeed that works and I was able to render krh/vkcube in
headless mode.
Cheers,
Antonio