The drm_bridge_funcs.atomic_reset callback and its
drm_atomic_helper_bridge_reset() helper are deprecated.

Switch to the atomic_create_state callback and its
drm_atomic_helper_bridge_create_state() counterpart.

Signed-off-by: Maxime Ripard <[email protected]>

---
To: Jagan Teki <[email protected]>
---
 drivers/gpu/drm/bridge/ti-dlpc3433.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/bridge/ti-dlpc3433.c 
b/drivers/gpu/drm/bridge/ti-dlpc3433.c
index 9c35eade0a78..c16eb3a05cfa 100644
--- a/drivers/gpu/drm/bridge/ti-dlpc3433.c
+++ b/drivers/gpu/drm/bridge/ti-dlpc3433.c
@@ -252,11 +252,11 @@ static int dlpc_attach(struct drm_bridge *bridge, struct 
drm_encoder *encoder,
 
 static const struct drm_bridge_funcs dlpc_bridge_funcs = {
        .atomic_duplicate_state         = 
drm_atomic_helper_bridge_duplicate_state,
        .atomic_destroy_state           = 
drm_atomic_helper_bridge_destroy_state,
        .atomic_get_input_bus_fmts      = dlpc_atomic_get_input_bus_fmts,
-       .atomic_reset                   = drm_atomic_helper_bridge_reset,
+       .atomic_create_state                    = 
drm_atomic_helper_bridge_create_state,
        .atomic_pre_enable              = dlpc_atomic_pre_enable,
        .atomic_enable                  = dlpc_atomic_enable,
        .atomic_post_disable            = dlpc_atomic_post_disable,
        .mode_set                       = dlpc_mode_set,
        .attach                         = dlpc_attach,

-- 
2.54.0

Reply via email to