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: Laurent Pinchart <[email protected]>
To: Tomi Valkeinen <[email protected]>
To: Michal Simek <[email protected]>
Cc: [email protected]
Cc: [email protected]
---
 drivers/gpu/drm/xlnx/zynqmp_dp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/xlnx/zynqmp_dp.c b/drivers/gpu/drm/xlnx/zynqmp_dp.c
index 7fb11b0a44f0..b209582bc130 100644
--- a/drivers/gpu/drm/xlnx/zynqmp_dp.c
+++ b/drivers/gpu/drm/xlnx/zynqmp_dp.c
@@ -2278,11 +2278,11 @@ static const struct drm_bridge_funcs 
zynqmp_dp_bridge_funcs = {
        .mode_valid = zynqmp_dp_bridge_mode_valid,
        .atomic_enable = zynqmp_dp_bridge_atomic_enable,
        .atomic_disable = zynqmp_dp_bridge_atomic_disable,
        .atomic_duplicate_state = drm_atomic_helper_bridge_duplicate_state,
        .atomic_destroy_state = drm_atomic_helper_bridge_destroy_state,
-       .atomic_reset = drm_atomic_helper_bridge_reset,
+       .atomic_create_state = drm_atomic_helper_bridge_create_state,
        .atomic_check = zynqmp_dp_bridge_atomic_check,
        .detect = zynqmp_dp_bridge_detect,
        .edid_read = zynqmp_dp_bridge_edid_read,
        .atomic_get_input_bus_fmts = zynqmp_dp_bridge_get_input_bus_fmts,
        .debugfs_init = zynqmp_dp_bridge_debugfs_init,

-- 
2.54.0

Reply via email to