drm/mcde: Switch to drm_atomic_helper_plane_create_state

The mcde plane implementation uses the deprecated
drm_atomic_helper_plane_reset() as its reset hook.

Switch to drm_atomic_helper_plane_create_state() instead.

Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patch.msgid.link/20260916-drm-no-more-plane-reset-v5-3-f590d2003f2c@kernel.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>
This commit is contained in:
Maxime Ripard 2026-09-16 10:55:46 +02:00
parent fbc8f33eeb
commit d24a400a17
No known key found for this signature in database
GPG Key ID: 275FCE19A23DBE76

View File

@ -1528,7 +1528,7 @@ static const struct drm_crtc_helper_funcs mcde_crtc_helper_funcs = {
static const struct drm_plane_funcs mcde_plane_funcs = {
.update_plane = drm_atomic_helper_update_plane,
.disable_plane = drm_atomic_helper_disable_plane,
.reset = drm_atomic_helper_plane_reset,
.atomic_create_state = drm_atomic_helper_plane_create_state,
.destroy = drm_plane_cleanup,
.atomic_duplicate_state = drm_atomic_helper_plane_duplicate_state,
.atomic_destroy_state = drm_atomic_helper_plane_destroy_state,