Re: [RFC PATCH] drm: allow passing a real encoder object for wb connector

2022-01-21 Thread Abhinav Kumar
Hi Jani On 1/21/2022 1:17 AM, Jani Nikula wrote: On Thu, 20 Jan 2022, Abhinav Kumar wrote: Instead of creating an internal encoder for the writeback connector to satisfy DRM requirements, allow the clients to pass a real encoder to it by changing the drm_writeback's encoder to a pointer. If a

Re: [RFC PATCH] drm: allow passing a real encoder object for wb connector

2022-01-21 Thread Jani Nikula
On Thu, 20 Jan 2022, Abhinav Kumar wrote: > Instead of creating an internal encoder for the writeback > connector to satisfy DRM requirements, allow the clients > to pass a real encoder to it by changing the drm_writeback's > encoder to a pointer. > > If a real encoder is not passed, drm_writeback

Re: [Freedreno] [RFC PATCH] drm: allow passing a real encoder object for wb connector

2022-01-20 Thread Abhinav Kumar
Hi Laurent Thanks for the response. On 1/20/2022 6:43 PM, Laurent Pinchart wrote: Hi Abhinav, Thank you for the patch. On Thu, Jan 20, 2022 at 06:29:55PM -0800, Abhinav Kumar wrote: Instead of creating an internal encoder for the writeback connector to satisfy DRM requirements, allow the cli

Re: [RFC PATCH] drm: allow passing a real encoder object for wb connector

2022-01-20 Thread Laurent Pinchart
Hi Abhinav, Thank you for the patch. On Thu, Jan 20, 2022 at 06:29:55PM -0800, Abhinav Kumar wrote: > Instead of creating an internal encoder for the writeback > connector to satisfy DRM requirements, allow the clients > to pass a real encoder to it by changing the drm_writeback's > encoder to a

[RFC PATCH] drm: allow passing a real encoder object for wb connector

2022-01-20 Thread Abhinav Kumar
Instead of creating an internal encoder for the writeback connector to satisfy DRM requirements, allow the clients to pass a real encoder to it by changing the drm_writeback's encoder to a pointer. If a real encoder is not passed, drm_writeback_connector_init will internally allocate one. This wi