[PATCH 61/70] drm/rockchip: vop: Convert to atomic_create_state

Heiko Stuebner heiko at sntech.de
Thu Aug 27 06:32:06 PDT 2026


Am Freitag, 21. August 2026, 16:39:37 Mitteleuropäische Sommerzeit schrieb Maxime Ripard:
> The rockchip vop 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 <mripard at kernel.org>

Reviewed-by: Heiko Stuebner <heiko at sntech.de>





More information about the Linux-rockchip mailing list