The mipi-dbi 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]>
---
 include/drm/drm_mipi_dbi.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/drm/drm_mipi_dbi.h b/include/drm/drm_mipi_dbi.h
index 78ab23d844ce..d93e25fdc2e1 100644
--- a/include/drm/drm_mipi_dbi.h
+++ b/include/drm/drm_mipi_dbi.h
@@ -232,11 +232,11 @@ void drm_mipi_dbi_plane_helper_atomic_update(struct 
drm_plane *plane,
 /*
  * CRTC
  */
 
 #define DRM_MIPI_DBI_CRTC_FUNCS \
-       .reset = drm_atomic_helper_crtc_reset, \
+       .atomic_create_state = drm_atomic_helper_crtc_create_state, \
        .set_config = drm_atomic_helper_set_config, \
        .page_flip = drm_atomic_helper_page_flip, \
        .atomic_duplicate_state = drm_atomic_helper_crtc_duplicate_state, \
        .atomic_destroy_state = drm_atomic_helper_crtc_destroy_state
 

-- 
2.55.0

Reply via email to