Re: [PATCH 13/70] drm/ingenic: Switch to drm_atomic_helper_crtc_create_state

Paul Cercueil <[email protected]>
Newsgroups org.kernel.vger.linux-mips,org.freedesktop.lists.dri-devel
Message-ID <[email protected]>
Hi Maxime,

Le vendredi 21 août 2026 à 16:38 +0200, Maxime Ripard a écrit :
> The ingenic crtc implementation uses the deprecated
> drm_atomic_helper_crtc_reset() as its reset hook.
> 
> Switch to drm_atomic_helper_crtc_create_state() instead.
> 
> Signed-off-by: Maxime Ripard <[email protected]>

Acked-by: Paul Cercueil <[email protected]>

Cheers,
-Paul

> ---
> Cc: Paul Cercueil <[email protected]>
> Cc: [email protected]
> ---
>  drivers/gpu/drm/ingenic/ingenic-drm-drv.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/ingenic/ingenic-drm-drv.c
> b/drivers/gpu/drm/ingenic/ingenic-drm-drv.c
> index 738a80b2550f..67374c611583 100644
> --- a/drivers/gpu/drm/ingenic/ingenic-drm-drv.c
> +++ b/drivers/gpu/drm/ingenic/ingenic-drm-drv.c
> @@ -995,11 +995,11 @@ static const struct drm_plane_funcs
> ingenic_drm_primary_plane_funcs = {
>  };
>  
>  static const struct drm_crtc_funcs ingenic_drm_crtc_funcs = {
>  	.set_config		= drm_atomic_helper_set_config,
>  	.page_flip		= drm_atomic_helper_page_flip,
> -	.reset			= drm_atomic_helper_crtc_reset,
> +	.atomic_create_state = drm_atomic_helper_crtc_create_state,
>  	.destroy		= drm_crtc_cleanup,
>  
>  	.atomic_duplicate_state	=
> drm_atomic_helper_crtc_duplicate_state,
>  	.atomic_destroy_state	=
> drm_atomic_helper_crtc_destroy_state,
>  
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.