Re: [RFC 1/2] drm: add devm release action

2024-03-21 Thread Aravind Iddamsetty
On 21/03/24 12:17, Jani Nikula wrote: > On Thu, 21 Mar 2024, Aravind Iddamsetty > wrote: >> On 21/03/24 02:23, Rodrigo Vivi wrote: >>> On Wed, Mar 20, 2024 at 04:14:25PM +0530, Aravind Iddamsetty wrote: In scenarios where drm_dev_put is directly called by driver we want to release

Re: [RFC 1/2] drm: add devm release action

2024-03-21 Thread Jani Nikula
On Thu, 21 Mar 2024, Aravind Iddamsetty wrote: > On 21/03/24 02:23, Rodrigo Vivi wrote: >> On Wed, Mar 20, 2024 at 04:14:25PM +0530, Aravind Iddamsetty wrote: >>> In scenarios where drm_dev_put is directly called by driver we want to >>> release devm_drm_dev_init_release action associated with

Re: [RFC 1/2] drm: add devm release action

2024-03-21 Thread Aravind Iddamsetty
On 21/03/24 02:23, Rodrigo Vivi wrote: > On Wed, Mar 20, 2024 at 04:14:25PM +0530, Aravind Iddamsetty wrote: >> In scenarios where drm_dev_put is directly called by driver we want to >> release devm_drm_dev_init_release action associated with struct >> drm_device. >> >> Cc: Thomas Hellstr_m >>

Re: [RFC 1/2] drm: add devm release action

2024-03-20 Thread Rodrigo Vivi
On Wed, Mar 20, 2024 at 04:14:25PM +0530, Aravind Iddamsetty wrote: > In scenarios where drm_dev_put is directly called by driver we want to > release devm_drm_dev_init_release action associated with struct > drm_device. > > Cc: Thomas Hellstr_m > > Signed-off-by: Aravind Iddamsetty > --- >

[RFC 1/2] drm: add devm release action

2024-03-20 Thread Aravind Iddamsetty
In scenarios where drm_dev_put is directly called by driver we want to release devm_drm_dev_init_release action associated with struct drm_device. Cc: Thomas Hellstr_m Signed-off-by: Aravind Iddamsetty --- drivers/gpu/drm/drm_drv.c | 6 ++ include/drm/drm_drv.h | 4 2 files