Re: [PATCH 49/70] drm/imx: ipuv3: Convert to atomic_create_state

Philipp Zabel <[email protected]>
Newsgroups org.freedesktop.lists.dri-devel,dev.linux.lists.imx
Message-ID <[email protected]>
On Fr, 2026-08-21 at 16:39 +0200, Maxime Ripard wrote:
> The ipuv3 crtc implementation provides a custom reset hook. However,
> this hook only allocates the state, initializes it with
> __drm_atomic_helper_crtc_reset(), and frees the previous state. It
> does not perform any hardware reset.
> 
> Since this is exactly what the atomic_create_state hook is meant to
> do, minus the old state cleanup which the caller handles, convert the
> implementation to use atomic_create_state with
> __drm_atomic_helper_crtc_state_init() instead.
> 
> Signed-off-by: Maxime Ripard <[email protected]>

Reviewed-by: Philipp Zabel <[email protected]>

regards
Philipp
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.