[Spice-devel] intel vgpu & spice & cursor
Ville Syrjälä
ville.syrjala at linux.intel.com
Fri Oct 13 11:38:54 UTC 2017
On Fri, Oct 13, 2017 at 11:33:23AM +0300, Joonas Lahtinen wrote:
> On Fri, 2017-10-13 at 02:09 +0000, Zhang, Tina wrote:
> > > -----Original Message-----
> > > From: Marc-André Lureau [mailto:marcandre.lureau at redhat.com]
> > > Sent: Thursday, October 12, 2017 5:42 PM
> > > To: Gerd Hoffmann <kraxel at redhat.com>
> > > Cc: intel-gvt-dev at lists.freedesktop.org; spice-devel at lists.freedesktop.org;
> > > Zhang, Tina <tina.zhang at intel.com>
> > > Subject: Re: [Spice-devel] intel vgpu & spice & cursor
> > >
> > > Hi
> > >
> > > ----- Original Message -----
> > > > Hi,
> > > >
> > > > We need to figure a way to handle intel vgpu with spice, especially
> > > > how to handle the cursor.
> > > >
> > > > What we'll get from the vgpu is two dma-bufs: One for the primary
> > > > plane (aka guest display), one for the cursor plane. We also get the
> > > > position of the cursor. We do *not* get the hotspot of the cursor.
> > > >
> > > > The latter implies client mouse mode isn't going to work, so we need
> > > > some other way to render the cursor. I see basically two options:
> > > >
> > >
> > > It's a shame not to have client mouse mode support. I wonder if we could
> > > modify the intel driver to pass along the cursor details, like virgl does (see
> > > drmModeSetCursor2).
> >
> > I see Gerd asked this question in another thread. Sorry for the late replay.
> > It seems for i915 the cursor hotspot is always to be (0,0).
> >
> > Joonas, could you please give us some comments here?
> > How does i915 handle the cursor hotspot configuration? Is there a register for
> > cursor spot setting. If so, we can decode the register and send the hot sport
> > info to user space.
Hotspot is a software construct. There's nothing in the hardware for it.
>
> + Jani and Ville for display details
>
> Regards, Joonas
> --
> Joonas Lahtinen
> Open Source Technology Center
> Intel Corporation
--
Ville Syrjälä
Intel OTC
More information about the intel-gvt-dev
mailing list