Re: [RFC] drm/connector: Set the default callback function for drm_connector_funcs

2021-01-08 Thread Jani Nikula
On Fri, 08 Jan 2021, Thomas Zimmermann wrote: > Drivers cannot legally declare the funcs instance as static const. > Having static const allows for write protected pages. This. I've done quite a bit of refactoring all over the place to be ablet to move to the complete opposite direction. We want

Re: [RFC] drm/connector: Set the default callback function for drm_connector_funcs

2021-01-08 Thread Daniel Vetter
On Fri, Jan 8, 2021 at 9:12 AM Thomas Zimmermann wrote: > > Hi > > Am 08.01.21 um 08:54 schrieb Tian Tao: > > The member functions of drm_connector_funcs are not specific to each > > manufacturer's driver, so drm_connector_funcs is allowed to use default > > values, which prevents all drivers from

Re: [RFC] drm/connector: Set the default callback function for drm_connector_funcs

2021-01-08 Thread Thomas Zimmermann
Hi Am 08.01.21 um 08:54 schrieb Tian Tao: The member functions of drm_connector_funcs are not specific to each manufacturer's driver, so drm_connector_funcs is allowed to use default values, which prevents all drivers from setting the same member functions for drm_connector_funcs. I don't thin