Re: [PATCH v3 4/7] drm/crtc: add drmm_crtc_alloc_with_planes()

2020-12-04 Thread Laurent Pinchart
Hi Philipp, Thank you for the patch. On Fri, Sep 11, 2020 at 03:57:21PM +0200, 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 >

[PATCH v3 4/7] drm/crtc: add drmm_crtc_alloc_with_planes()

2020-09-11 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 --- Changes since v2: - call va_start() / va_end() unconditionally --- drivers/gpu/drm/drm_crtc.c | 116