Re: [PATCH v3 3/7] drm/plane: add drmm_universal_plane_alloc()

2020-12-04 Thread Laurent Pinchart
Hi Philipp, Thank you for the patch. On Fri, Sep 11, 2020 at 03:57:20PM +0200, Philipp Zabel wrote: > Add an alternative to drm_universal_plane_init() that allocates > and initializes a plane and registers drm_plane_cleanup() with > drmm_add_action_or_reset(). > > Signed-off-by: Philipp Zabel >

[PATCH v3 3/7] drm/plane: add drmm_universal_plane_alloc()

2020-09-11 Thread Philipp Zabel
Add an alternative to drm_universal_plane_init() that allocates and initializes a plane and registers drm_plane_cleanup() with drmm_add_action_or_reset(). Signed-off-by: Philipp Zabel --- Changes since v2: - call va_start() / va_end() unconditionally --- drivers/gpu/drm/drm_plane.c | 126 ++