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@xxxxxxxxxx] > > > Sent: Thursday, October 12, 2017 5:42 PM > > > To: Gerd Hoffmann <kraxel@xxxxxxxxxx> > > > Cc: intel-gvt-dev@xxxxxxxxxxxxxxxxxxxxx; spice-devel@xxxxxxxxxxxxxxxxxxxxx; > > > Zhang, Tina <tina.zhang@xxxxxxxxx> > > > Subject: Re: 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 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel