gvt-g support local displays
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kvm (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Feature description: dma-buf is an uniform mechanism to share DMA buffers across different devices and subsystems. dma-buf for intel GVT-g is mainly used to share the vgpu's framebuffer to userspace to leverage userspace graphics stacks to render the framebuffer to the display monitor.
The main idea is that we create a gem object and set vgpu's framebuffer as its backing storage. Then, export a dma-buf associated with this gem object. With the fd of this dma-buf, userspace can directly handle this buffer.
Applied platform: Skylake, Kabylake
Dependencies: Qemu's support is needed to implement the use cases of local display or remote display via SPICE protocol.
Business value: improve user experience to get local display or remote display of vgpu.
---
The dma-buf patches are merged by kernel 4.16 as well as some bug fixing patches, including:
47419494f21681
412718a10926f7
6ee942d5f7e3e6
82a3b6701ab1e2
4a136d590bd4c5
dfb6ae4e14bd65
e546e281d33d1f
e20eaa2382e788
9f31d1063b434c
b851adeac0858c
a03f395ad78f88
274b2462a0493b
Currently, Gvt-g repo has three branches which have the dma-buf features:
1) staging branch
Has GPU hang issue while booting Linux VM which can be solved by patch:
https:/
2) Q1-release branch (gvt-stable-4.14)
Still needs more tests.
3) topic/dmabuf
This is a branch to show the idea of dma-buf.
[Blog]
We have a blog to talk about how to use dma-buf feature of Gvg-g and here is the link:
https:/
Status changed to 'Confirmed' because the bug affects multiple users.