Re: [PATCH 1/3] drm: Add DRM-managed mutex_init()

2022-05-04 Thread Daniel Vetter
On Mon, May 02, 2022 at 04:25:12PM +0200, Thomas Zimmermann wrote: > Add drmm_mutex_init(), a helper that provides managed mutex cleanup. The > mutex will be destroyed with the final reference of the DRM device. > > Signed-off-by: Thomas Zimmermann Reviewed-by: Daniel Vetter on this one, ack fo

[PATCH 1/3] drm: Add DRM-managed mutex_init()

2022-05-02 Thread Thomas Zimmermann
Add drmm_mutex_init(), a helper that provides managed mutex cleanup. The mutex will be destroyed with the final reference of the DRM device. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/drm_managed.c | 27 +++ include/drm/drm_managed.h | 3 +++ 2 files change