Re: [PATCH v5 2/6] vfio: Introduce vGPU display irq type

2019-08-20 Thread Alex Williamson
On Tue, 20 Aug 2019 02:12:10 + "Zhang, Tina" wrote: > BTW, IIRC, we might also have one question waiting to be replied: > - Can we just use VFIO_IRQ_TYPE_GFX w/o proposing a new sub type > (i.e. VFIO_IRQ_SUBTYPE_GFX_DISPLAY_IRQ)? Well, only if we can agree > on that we don't have any other

Re: [PATCH v5 2/6] vfio: Introduce vGPU display irq type

2019-08-20 Thread Alex Williamson
On Tue, 20 Aug 2019 09:20:30 +0200 "kra...@redhat.com" wrote: > > > > +#define VFIO_IRQ_TYPE_GFX (1) > > > > +/* > > > > + * vGPU vendor sub-type > > > > + * vGPU device display related interrupts e.g. vblank/pageflip */ > > > > +#define

Re: [PATCH v5 2/6] vfio: Introduce vGPU display irq type

2019-08-20 Thread kra...@redhat.com
> > > +#define VFIO_IRQ_TYPE_GFX(1) > > > +/* > > > + * vGPU vendor sub-type > > > + * vGPU device display related interrupts e.g. vblank/pageflip */ > > > +#define VFIO_IRQ_SUBTYPE_GFX_DISPLAY_IRQ (1) > > > > If this is a GFX/DISPLAY IRQ, why are we

RE: [PATCH v5 2/6] vfio: Introduce vGPU display irq type

2019-08-19 Thread Zhang, Tina
ng > ; Lv, Zhiyuan > Subject: Re: [PATCH v5 2/6] vfio: Introduce vGPU display irq type > > On Fri, 16 Aug 2019 10:35:24 +0800 > Tina Zhang wrote: > > > Introduce vGPU specific irq type VFIO_IRQ_TYPE_GFX, and > > VFIO_IRQ_SUBTYPE_GFX_DISPLAY_IRQ as

Re: [PATCH v5 2/6] vfio: Introduce vGPU display irq type

2019-08-16 Thread Alex Williamson
On Fri, 16 Aug 2019 10:35:24 +0800 Tina Zhang wrote: > Introduce vGPU specific irq type VFIO_IRQ_TYPE_GFX, and > VFIO_IRQ_SUBTYPE_GFX_DISPLAY_IRQ as the subtype for vGPU display. > > Introduce vfio_irq_info_cap_display_plane_events capability to notify > user space with the vGPU's plane update