[Spice-devel] Please contact us regarding spice

2020-02-28 Thread 이희준
Please contact us I want to connect the assigned vGPU to VM after installing virt-viewer on a Windows 10 client in Redhat + KVM + Nvidia GPU + spice server environment It is possible to connect to RDP by assigning vGPU to the current VM, but not to virt-viewer. If there is a way to solve this

Re: [Spice-devel] [PATCH v3 3/4] drm/mgag200: Use simple encoder

2020-02-28 Thread Sam Ravnborg
On Tue, Feb 25, 2020 at 02:10:54PM +0100, Thomas Zimmermann wrote: > The mgag200 driver uses an empty implementation for its encoder. Replace > the code with the generic simple encoder. > > v3: > * init pre-allocated encoder with drm_simple_encoder_init() > v2: > * rebase onto new

Re: [Spice-devel] [PATCH v3 1/4] drm/simple-kms: Add drm_simple_encoder_{init, create}()

2020-02-28 Thread Sam Ravnborg
On Tue, Feb 25, 2020 at 02:10:52PM +0100, Thomas Zimmermann wrote: > This patch makes the internal encoder implementation of the simple > KMS helpers available to drivers. > > These simple-encoder helpers initialize an encoder with an empty > implementation. This covers the requirements of most

Re: [Spice-devel] [PATCH v3 4/4] drm/qxl: Use simple encoder

2020-02-28 Thread Sam Ravnborg
Hi Thomas. On Tue, Feb 25, 2020 at 02:10:55PM +0100, Thomas Zimmermann wrote: > The qxl driver uses an empty implementation for its encoder. Replace > the code with the generic simple encoder. > > v2: > * rebase onto new simple-encoder interface > > Signed-off-by: Thomas Zimmermann >

[Spice-devel] [PATCH 07/51] drm/qxl: Use drmm_add_final_kfree

2020-02-28 Thread Daniel Vetter
With this we can drop the final kfree from the release function. Signed-off-by: Daniel Vetter Cc: Dave Airlie Cc: Gerd Hoffmann Cc: virtualizat...@lists.linux-foundation.org Cc: spice-devel@lists.freedesktop.org --- drivers/gpu/drm/qxl/qxl_drv.c | 2 -- drivers/gpu/drm/qxl/qxl_kms.c | 2 ++ 2

[Spice-devel] [PATCH v4 2/4] drm/ast: Use simple encoder

2020-02-28 Thread Thomas Zimmermann
The ast driver uses an empty implementation for its encoder. Replace the code with the generic simple encoder. v2: * rebase onto new simple-encoder interface Signed-off-by: Thomas Zimmermann Acked-by: Sam Ravnborg --- drivers/gpu/drm/ast/ast_drv.h | 6 +-

[Spice-devel] [PATCH v4 3/4] drm/mgag200: Use simple encoder

2020-02-28 Thread Thomas Zimmermann
The mgag200 driver uses an empty implementation for its encoder. Replace the code with the generic simple encoder. v4: * print error message with drm_err() v3: * init pre-allocated encoder with drm_simple_encoder_init() v2: * rebase onto new simple-encoder interface

[Spice-devel] [PATCH v4 4/4] drm/qxl: Use simple encoder

2020-02-28 Thread Thomas Zimmermann
The qxl driver uses an empty implementation for its encoder. Replace the code with the generic simple encoder. v4: * handle errors returned from drm_simple_encoder_init() v2: * rebase onto new simple-encoder interface Signed-off-by: Thomas Zimmermann Reviewed-by: Sam Ravnborg

[Spice-devel] [PATCH v4 1/4] drm/simple-kms: Add drm_simple_encoder_{init, create}()

2020-02-28 Thread Thomas Zimmermann
This patch makes the internal encoder implementation of the simple KMS helpers available to drivers. These simple-encoder helpers initialize an encoder with an empty implementation. This covers the requirements of most of the existing DRM drivers. A call to drm_simple_encoder_create() allocates

[Spice-devel] [PATCH v4 0/4] drm: Provide a simple encoder

2020-02-28 Thread Thomas Zimmermann
Many DRM drivers implement an encoder with an empty implementation. This patchset adds drm_simple_encoder_init(), which drivers can use instead. Except for the destroy callback, the simple encoder's implementation is empty. The patchset also converts 4 encoder instances to use the simple-encoder