Skip to content

Commit f8a2397

Browse files
committed
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 <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Dmitry Baryshkov <[email protected]>
1 parent 15b8f5a commit f8a2397

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.c

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -361,22 +361,6 @@ static int dw_hdmi_qp_config_drm_infoframe(struct dw_hdmi_qp *hdmi,
361361
return 0;
362362
}
363363

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-
380364
static void dw_hdmi_qp_bridge_atomic_enable(struct drm_bridge *bridge,
381365
struct drm_bridge_state *old_state)
382366
{
@@ -503,7 +487,6 @@ static const struct drm_bridge_funcs dw_hdmi_qp_bridge_funcs = {
503487
.atomic_duplicate_state = drm_atomic_helper_bridge_duplicate_state,
504488
.atomic_destroy_state = drm_atomic_helper_bridge_destroy_state,
505489
.atomic_reset = drm_atomic_helper_bridge_reset,
506-
.atomic_check = dw_hdmi_qp_bridge_atomic_check,
507490
.atomic_enable = dw_hdmi_qp_bridge_atomic_enable,
508491
.atomic_disable = dw_hdmi_qp_bridge_atomic_disable,
509492
.detect = dw_hdmi_qp_bridge_detect,

0 commit comments

Comments
 (0)