Re: [PATCH 1/2] drm/v3d: switch to drmm_mutex_init

2022-11-08 Thread Daniel Vetter
On Mon, Nov 07, 2022 at 07:46:55PM -0300, Maíra Canal wrote: > mutex_init() is supposed to be balanced by a call to mutex_destroy(), but > this is not currently happening on the v3d driver. > > Considering the introduction of a DRM-managed mutex_init variant, switch > to drmm_mutex_init. > >

[PATCH 1/2] drm/v3d: switch to drmm_mutex_init

2022-11-07 Thread Maíra Canal
mutex_init() is supposed to be balanced by a call to mutex_destroy(), but this is not currently happening on the v3d driver. Considering the introduction of a DRM-managed mutex_init variant, switch to drmm_mutex_init. Signed-off-by: Maíra Canal --- drivers/gpu/drm/v3d/v3d_gem.c | 17