Re: [PATCH v4 01/19] drm/encoder: make encoder control functions optional

2020-12-09 Thread Daniel Vetter
On Wed, Dec 09, 2020 at 04:58:05PM +0100, Daniel Vetter wrote: > On Wed, Dec 09, 2020 at 11:58:44AM +0100, Philipp Zabel wrote: > > Hi Sam, > > > > On Tue, 2020-12-08 at 19:48 +0100, Sam Ravnborg wrote: > > > Hi Philipp, > > > On Tue, Dec 08, 2020 at 04:54:33PM +0100, Philipp Zabel wrote: > > > >

Re: [PATCH v4 01/19] drm/encoder: make encoder control functions optional

2020-12-09 Thread Daniel Vetter
On Wed, Dec 09, 2020 at 11:58:44AM +0100, Philipp Zabel wrote: > Hi Sam, > > On Tue, 2020-12-08 at 19:48 +0100, Sam Ravnborg wrote: > > Hi Philipp, > > On Tue, Dec 08, 2020 at 04:54:33PM +0100, Philipp Zabel wrote: > > > Simple managed encoders do not require the .destroy callback, > > > make the

Re: [PATCH v4 01/19] drm/encoder: make encoder control functions optional

2020-12-09 Thread Philipp Zabel
Hi Sam, On Tue, 2020-12-08 at 19:48 +0100, Sam Ravnborg wrote: > Hi Philipp, > On Tue, Dec 08, 2020 at 04:54:33PM +0100, Philipp Zabel wrote: > > Simple managed encoders do not require the .destroy callback, > > make the whole funcs structure optional. > > > > Signed-off-by: Philipp Zabel > > Re

Re: [PATCH v4 01/19] drm/encoder: make encoder control functions optional

2020-12-08 Thread Sam Ravnborg
Hi Philipp, On Tue, Dec 08, 2020 at 04:54:33PM +0100, Philipp Zabel wrote: > Simple managed encoders do not require the .destroy callback, > make the whole funcs structure optional. > > Signed-off-by: Philipp Zabel > Reviewed-by: Laurent Pinchart > --- > New in v4. > --- > drivers/gpu/drm/drm_e

[PATCH v4 01/19] drm/encoder: make encoder control functions optional

2020-12-08 Thread Philipp Zabel
Simple managed encoders do not require the .destroy callback, make the whole funcs structure optional. Signed-off-by: Philipp Zabel Reviewed-by: Laurent Pinchart --- New in v4. --- drivers/gpu/drm/drm_encoder.c | 4 ++-- drivers/gpu/drm/drm_mode_config.c | 5 +++-- include/drm/drm_encoder.h