[Spice-devel] [PATCH v3 5/7] drm/qxl: use drm_gem_object_funcs callbacks

2019-09-03 Thread Gerd Hoffmann
Switch qxl to use drm_gem_object_funcs callbacks instead of drm_driver callbacks. Signed-off-by: Gerd Hoffmann Acked-by: Thomas Zimmermann --- drivers/gpu/drm/qxl/qxl_drv.c| 8 drivers/gpu/drm/qxl/qxl_object.c | 12 2 files changed, 12 insertions(+), 8 deletions(-)

[Spice-devel] [PATCH v3 6/7] drm/qxl: use drm_gem_ttm_print_info

2019-09-03 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann Acked-by: Thomas Zimmermann --- drivers/gpu/drm/qxl/qxl_drv.h| 1 + drivers/gpu/drm/qxl/qxl_object.c | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/gpu/drm/qxl/qxl_drv.h b/drivers/gpu/drm/qxl/qxl_drv.h index 9e034c5fa87d..d4051409ce64 100644 ---

Re: [Spice-devel] [PATCH spice-gtk v4 24/29] usb-backend: Rewrite USB emulation support

2019-09-03 Thread Frediano Ziglio
> > On 9/3/19 3:08 PM, Frediano Ziglio wrote: > >> > >> Hi, > >> > >> On 8/27/19 12:22 PM, Frediano Ziglio wrote: > >>> Make initialisation easier. > >>> Always initialise parser. > >>> Initialise both parser and host during spice_usb_backend_channel_new. > >>> Support not having libusb context

Re: [Spice-devel] [PATCH spice-gtk v4 24/29] usb-backend: Rewrite USB emulation support

2019-09-03 Thread Uri Lublin
On 9/3/19 3:08 PM, Frediano Ziglio wrote: Hi, On 8/27/19 12:22 PM, Frediano Ziglio wrote: Make initialisation easier. Always initialise parser. Initialise both parser and host during spice_usb_backend_channel_new. Support not having libusb context (no physical devices). Avoids too much state

Re: [Spice-devel] [PATCH spice-gtk v4 24/29] usb-backend: Rewrite USB emulation support

2019-09-03 Thread Frediano Ziglio
> > Hi, > > On 8/27/19 12:22 PM, Frediano Ziglio wrote: > > Make initialisation easier. > > Always initialise parser. > > Initialise both parser and host during spice_usb_backend_channel_new. > > Support not having libusb context (no physical devices). > > Avoids too much state variables. > >

Re: [Spice-devel] [PATCH spice-gtk v4 24/29] usb-backend: Rewrite USB emulation support

2019-09-03 Thread Uri Lublin
Hi, On 8/27/19 12:22 PM, Frediano Ziglio wrote: Make initialisation easier. Always initialise parser. Initialise both parser and host during spice_usb_backend_channel_new. Support not having libusb context (no physical devices). Avoids too much state variables. parser is always initialised

[Spice-devel] [PATCH v2 5/6] drm/qxl: use drm_gem_object_funcs callbacks

2019-09-03 Thread Gerd Hoffmann
Switch qxl to use drm_gem_object_funcs callbacks instead of drm_driver callbacks. Signed-off-by: Gerd Hoffmann Acked-by: Thomas Zimmermann --- drivers/gpu/drm/qxl/qxl_drv.c| 8 drivers/gpu/drm/qxl/qxl_object.c | 12 2 files changed, 12 insertions(+), 8 deletions(-)

[Spice-devel] [PATCH v2 6/6] drm/qxl: use drm_gem_ttm_print_info

2019-09-03 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann Acked-by: Thomas Zimmermann --- drivers/gpu/drm/qxl/qxl_drv.h| 1 + drivers/gpu/drm/qxl/qxl_object.c | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/gpu/drm/qxl/qxl_drv.h b/drivers/gpu/drm/qxl/qxl_drv.h index 9e034c5fa87d..d4051409ce64 100644 ---

Re: [Spice-devel] [PATCH 4/5] drm/qxl: use drm_gem_object_funcs callbacks

2019-09-03 Thread Thomas Zimmermann
Hi Am 03.09.19 um 08:24 schrieb Gerd Hoffmann: > On Mon, Sep 02, 2019 at 04:34:49PM +0200, Thomas Zimmermann wrote: >> This patch seems unrelated. > > Well, patch 5/5 depends on it because it hooks the > drm_gem_ttm_print_info helper into the new > qxl_object_funcs added by this patch.

Re: [Spice-devel] [PATCH 4/5] drm/qxl: use drm_gem_object_funcs callbacks

2019-09-03 Thread Gerd Hoffmann
On Mon, Sep 02, 2019 at 04:34:49PM +0200, Thomas Zimmermann wrote: > This patch seems unrelated. Well, patch 5/5 depends on it because it hooks the drm_gem_ttm_print_info helper into the new qxl_object_funcs added by this patch. > Am 02.09.19 um 14:41 schrieb Gerd Hoffmann: > > Switch qxl to use

Re: [Spice-devel] [PATCH spice-gtk v3] streaming: make draw-area visible on MJPEG encoder creation

2019-09-03 Thread Snir Sheriber
Hi, On 9/2/19 6:50 PM, Kevin Pouget wrote: This patch allows the MJPEG encoder to inform the spice-widget that its video drawing area (draw-area) should be made visible on screen. This is required to switch from GST video decoding to native MJPEG decoding, otherwise the gst-area remained on