|
From: | Antonio Caggiano |
Subject: | Re: virtio-gpu: Mapping blob resources |
Date: | Mon, 26 Jul 2021 16:32:06 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |