[RFC PATCH v2 0/3] drm/i915/gvt: Enable vGPU local display direct flip

Zhang, Tina tina.zhang at intel.com
Mon May 27 08:27:10 UTC 2019



> -----Original Message-----
> From: Gerd Hoffmann [mailto:kraxel at redhat.com]
> Sent: Monday, May 27, 2019 3:56 PM
> To: Zhang, Tina <tina.zhang at intel.com>
> Cc: Tian, Kevin <kevin.tian at intel.com>; zhenyuw at linux.intel.com; Yuan,
> Hang <hang.yuan at intel.com>; ville.syrjala at linux.intel.com; Lv, Zhiyuan
> <zhiyuan.lv at intel.com>; daniel at ffwll.ch; Kondapally, Kalyan
> <kalyan.kondapally at intel.com>; intel-gvt-dev at lists.freedesktop.org; Wang,
> Zhi A <zhi.a.wang at intel.com>
> Subject: Re: [RFC PATCH v2 0/3] drm/i915/gvt: Enable vGPU local display
> direct flip
> 
>   Hi,
> 
> > > Can you just push your drm lease branch somewhere?
> 
> > I applied our work against your drm ui tip. You can run it with xorg
> > now. We tried two VMs with two display monitors and it can work just
> > as expected.  BTW, you might need to update some packages to the
> > latest version, e.g. xorg, in order to use the drm lease. If you have
> > any problem, please let me know.
> 
> Creating a lease doesn't work here.
> 
> kernel is 5.1.5.  xorg server is is 1.20.4, reporting xrandr version 1.6.  Which
> should be new enough.
This is our referenced versions:
Kernel: 5.2.0 (however 5.1.5 should also work) 
Xorg: 1.20.4 reporting xrandr version 1.6
Libxcb: 1.13
Xcb-proto: 1.13
Xorgproto: 2018.4-4
Libdrm: 2.4.95

Also, you can reference the status of drm leases support:
https://haagch.frickel.club/#!drmlease.md


> 
> Do I have to specifically enable this somewhere?
When you tried this work https://github.com/intel/Igvtg-qemu/commit/2881d9a65beb319c42b947d23eb1d260224bcddc, did you add "enable-drmlease=on" mentioned in the commit message?

BR,
Tina

> 
> thanks,
>   Gerd



More information about the intel-gvt-dev mailing list