Re: [PATCH v4 05/19] drm/crtc: add drmm_crtc_alloc_with_planes()

2020-12-09 Thread Daniel Vetter
On Tue, Dec 08, 2020 at 04:54:37PM +0100, Philipp Zabel wrote: > Add an alternative to drm_crtc_init_with_planes() that allocates > and initializes a crtc and registers drm_crtc_cleanup() with > drmm_add_action_or_reset(). > > Signed-off-by: Philipp Zabel > Reviewed-by: Laurent Pinchart Same bi

[PATCH v4 05/19] drm/crtc: add drmm_crtc_alloc_with_planes()

2020-12-08 Thread Philipp Zabel
Add an alternative to drm_crtc_init_with_planes() that allocates and initializes a crtc and registers drm_crtc_cleanup() with drmm_add_action_or_reset(). Signed-off-by: Philipp Zabel Reviewed-by: Laurent Pinchart --- drivers/gpu/drm/drm_crtc.c | 116 - includ