diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2018-06-29 13:50:20 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2018-06-29 19:25:38 +0300 |
commit | f4edee411ef00da152d5c06ba4d41fa917fe3aad (patch) | |
tree | 188a63f93e082884ac51e14b88020d9343b50ef6 /makediffall.sh | |
parent | 059b476c6d12aab67174b2c73d4976c7b38990c6 (diff) |
virtio-gpu: Support host-allocated backing storagevirtio-gpu
The virtio-gpu protocol is based on opaque host resources backed by
guest-allocated memory. This requires transferring data from guest
framebuffers to host display device buffers.
When the host supports VIRGL, the GPU is used for both 2D and 3D
rendering, in which case the memory transfer can take the form of a DMA
operation without incurring significant costs. However, when VIRGL
support isn't available, 2D transfers require a CPU memory copy for
every page flip. Display is slowed down to an unusable state.
To solve this problem, extend the virtio-gpu protocol with the ability
for the host to allocate resource backing storage and map it to the
guest. The allocated memory can then be used directly by the host-side
display device, removing the need for memory copy operations.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'makediffall.sh')
0 files changed, 0 insertions, 0 deletions