Re: [Spice-devel] Friendly ping. I think this patch was forgotten.//回复: [PATCH] drm/qxl: remove unused declaration

2023-12-05 Thread mripard
Applied, thanks for the reminder signature.asc Description: PGP signature

Re: [Spice-devel] [PATCH] drm/qxl: remove unused declaration

2023-12-05 Thread Maxime Ripard
On Fri, 10 Nov 2023 13:50:31 +0800, heminhong wrote: > Some functions are never used by the driver, > removing the functions declaration, it can be reducing program size, > and improving code readability and maintainability. > > Applied to drm/drm-misc (drm-misc-next). Thanks! Maxime

[Spice-devel] [PATCH v3 3/5] dcc-send: Encode and send gl_draw stream data to the remote client (v2)

2023-12-05 Thread Vivek Kasireddy
For remote (or non-gl) clients, if a valid gl_draw stream exists, then we first extract the dmabuf fd associated with the scanout and share it with the encoder along with other key parameters such as stride, width and height. Once the encoder finishes creating an encoded buffer (using the dmabuf fd

[Spice-devel] [PATCH v3 4/5] gstreamer-encoder: Add an encoder function that takes dmabuf fd as input (v2)

2023-12-05 Thread Vivek Kasireddy
This patch adds a new function to enable the creation of Gst memory with the dmabuf fd as the source by using a dmabuf allocator. And, it also adds a mechanism to register and invoke any callbacks once the Gst memory object is no longer used by the pipeline. This patch also ensures that the source

[Spice-devel] [PATCH v3 2/5] dcc: Create a stream associated with gl_draw for non-gl clients (v3)

2023-12-05 Thread Vivek Kasireddy
For non-gl/remote clients, if there is no stream associated with the DisplayChannel, then we create a new stream. Otherwise, we just update the current stream's timestamp. v2: (suggestions and fixups from Frediano) - Moved the gl_draw_stream object from DCC to DC - Moved the stream initialization

[Spice-devel] [PATCH v3 5/5] video-stream: Don't stop a stream associated with gl_draw (v2)

2023-12-05 Thread Vivek Kasireddy
We do not want to stop a stream associated with gl_draw as a result of timeout because we may not get another opportunity to create a new stream if the current one gets stopped. However, when the stream does get stopped for other reasons, we need to clear the gl_draw_stream pointer associated with

[Spice-devel] [PATCH v3 0/5] dcc: Create a stream for non-gl/remote clients that want to use dmabuf (v3)

2023-12-05 Thread Vivek Kasireddy
For clients that cannot accept a dmabuf fd directly (such as those running on a remote system), this patch series provides a way for the Spice server to stream the gl/dmabuf data/buffer instead. This is mostly done by enabling the creation of Gst memory using a dmabuf fd as the source. This ability

[Spice-devel] [PATCH v3 1/5] dcc: Check to see if the client supports multiple codecs (v2)

2023-12-05 Thread Vivek Kasireddy
We need to determine if the client is new enough to support multiple codecs -- which might include any of the Gstreamer based ones. v2: (suggestions and fixups from Frediano) - Add is_gl_client() method to DisplayChannelClient instead of a dcc_is_gl_client() function. - Avoid the usage of XXX_CA