[Spice-devel] Compression parameters in images

2021-01-26 Thread alireza kahdoyee
Hi dear friend I am working on the connection between the spice client and the spice server and I do not have information about the parameters below the to know the exact settings. image-compression jpeg-wan-compression zlib-glz-wan-compression I searched the internet a lot, but I did not f

[Spice-devel] [spice-devel]Is the data after USB camera redirection compressed?

2021-01-26 Thread lx
Hi all: If I redirect USB camera to virtual machine, I think we send original URB to virtual machine by USB channel. Is this understanding correct? If we want to improve the user experience, we need to compress URB data? Thank you ___ Spice-devel

[Spice-devel] [PATCH v4 2/5] drm/qxl: unpin release objects

2021-01-26 Thread Gerd Hoffmann
Balances the qxl_create_bo(..., pinned=true, ...); call in qxl_release_bo_alloc(). Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/qxl/qxl_release.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/qxl/qxl_release.c b/drivers/gpu/drm/qxl/qxl_release.c index c52412724c26..280

[Spice-devel] [PATCH v4 5/5] drm/qxl: properly free qxl releases

2021-01-26 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/qxl/qxl_drv.h | 1 + drivers/gpu/drm/qxl/qxl_kms.c | 22 -- drivers/gpu/drm/qxl/qxl_release.c | 2 ++ 3 files changed, 23 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/qxl/qxl_drv.h b/drivers/gpu/drm/qxl/

[Spice-devel] [PATCH v4 4/5] drm/qxl: handle shadow in primary destroy

2021-01-26 Thread Gerd Hoffmann
qxl_primary_atomic_disable must check whenever the framebuffer bo has a shadow surface and in case it has check the shadow primary status. Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/qxl/qxl_display.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/qxl/qxl_display.c b

[Spice-devel] [PATCH v4 3/5] drm/qxl: release shadow on shutdown

2021-01-26 Thread Gerd Hoffmann
In case we have a shadow surface on shutdown release it so it doesn't leak. Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/qxl/qxl_display.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/qxl/qxl_display.c b/drivers/gpu/drm/qxl/qxl_display.c index 38d6b596094d..60331e

Re: [Spice-devel] [PATCH v2 10/11] drm: Use state helper instead of the plane state pointer

2021-01-26 Thread Ville Syrjälä
On Thu, Jan 21, 2021 at 05:35:35PM +0100, Maxime Ripard wrote: > Many drivers reference the plane->state pointer in order to get the > current plane state in their atomic_update or atomic_disable hooks, > which would be the new plane state in the global atomic state since > _swap_state happened whe

[Spice-devel] Compression parameters in spice

2021-01-26 Thread alireza kahdoyee
Hi dear friend I am working on the connection between the spice client and the spice server and I do not have information about the parameters below the to know the exact settings. image-compression jpeg-wan-compression zlib-glz-wan-compression I searched the internet a lot, but I did not find