Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/bridge: dw-hdmi-qp: drop atomic_check() callback

As drm_bridge_connector now provides atomic_check() implementation which
calls drm_atomic_helper_connector_hdmi_check(), drop the duplicating
callback from the bridge driver.

Acked-by: Maxime Ripard <mripard@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20241210-bridge_hdmi_check-v1-4-a8fdd8c5afa5@linaro.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>

-17
-17
drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.c
··· 361 361 return 0; 362 362 } 363 363 364 - static int dw_hdmi_qp_bridge_atomic_check(struct drm_bridge *bridge, 365 - struct drm_bridge_state *bridge_state, 366 - struct drm_crtc_state *crtc_state, 367 - struct drm_connector_state *conn_state) 368 - { 369 - struct dw_hdmi_qp *hdmi = bridge->driver_private; 370 - int ret; 371 - 372 - ret = drm_atomic_helper_connector_hdmi_check(conn_state->connector, 373 - conn_state->state); 374 - if (ret) 375 - dev_dbg(hdmi->dev, "%s failed: %d\n", __func__, ret); 376 - 377 - return ret; 378 - } 379 - 380 364 static void dw_hdmi_qp_bridge_atomic_enable(struct drm_bridge *bridge, 381 365 struct drm_bridge_state *old_state) 382 366 { ··· 487 503 .atomic_duplicate_state = drm_atomic_helper_bridge_duplicate_state, 488 504 .atomic_destroy_state = drm_atomic_helper_bridge_destroy_state, 489 505 .atomic_reset = drm_atomic_helper_bridge_reset, 490 - .atomic_check = dw_hdmi_qp_bridge_atomic_check, 491 506 .atomic_enable = dw_hdmi_qp_bridge_atomic_enable, 492 507 .atomic_disable = dw_hdmi_qp_bridge_atomic_disable, 493 508 .detect = dw_hdmi_qp_bridge_detect,