The logicvc 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]>
---
Cc: Paul Kocialkowski <[email protected]>
---
 drivers/gpu/drm/logicvc/logicvc_interface.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/logicvc/logicvc_interface.c 
b/drivers/gpu/drm/logicvc/logicvc_interface.c
index 81f760dc07f8..a2ea22bb4643 100644
--- a/drivers/gpu/drm/logicvc/logicvc_interface.c
+++ b/drivers/gpu/drm/logicvc/logicvc_interface.c
@@ -85,11 +85,11 @@ static int logicvc_connector_get_modes(struct drm_connector 
*drm_connector)
 static const struct drm_connector_helper_funcs logicvc_connector_helper_funcs 
= {
        .get_modes              = logicvc_connector_get_modes,
 };
 
 static const struct drm_connector_funcs logicvc_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,
        .destroy                = drm_connector_cleanup,
        .atomic_duplicate_state = drm_atomic_helper_connector_duplicate_state,
        .atomic_destroy_state   = drm_atomic_helper_connector_destroy_state,
 };

-- 
2.55.0

Reply via email to