The mipi-dbi connector implementation uses the deprecated
drm_atomic_helper_connector_reset() as its reset hook.

Switch to drm_atomic_helper_connector_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 d93e25fdc2e1..d130d0600c73 100644
--- a/include/drm/drm_mipi_dbi.h
+++ b/include/drm/drm_mipi_dbi.h
@@ -255,11 +255,11 @@ void drm_mipi_dbi_crtc_helper_atomic_disable(struct 
drm_crtc *crtc,
 /*
  * Connector
  */
 
 #define DRM_MIPI_DBI_CONNECTOR_FUNCS \
-       .reset = drm_atomic_helper_connector_reset, \
+       .atomic_create_state = drm_atomic_helper_connector_create_state, \
        .fill_modes = drm_helper_probe_single_connector_modes, \
        .atomic_duplicate_state = drm_atomic_helper_connector_duplicate_state, \
        .atomic_destroy_state = drm_atomic_helper_connector_destroy_state
 
 int drm_mipi_dbi_connector_helper_get_modes(struct drm_connector *connector);

-- 
2.55.0

Reply via email to