[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241210-bridge_hdmi_check-v1-0-a8fdd8c5afa5@linaro.org>
Date: Tue, 10 Dec 2024 16:16:46 +0200
From: Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
To: Andrzej Hajda <andrzej.hajda@...el.com>,
Neil Armstrong <neil.armstrong@...aro.org>, Robert Foss <rfoss@...nel.org>,
Laurent Pinchart <Laurent.pinchart@...asonboard.com>,
Jonas Karlman <jonas@...boo.se>, Jernej Skrabec <jernej.skrabec@...il.com>,
Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
Maxime Ripard <mripard@...nel.org>, Thomas Zimmermann <tzimmermann@...e.de>,
David Airlie <airlied@...il.com>, Simona Vetter <simona@...ll.ch>,
Liu Ying <victor.liu@....com>
Cc: dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org
Subject: [PATCH 0/4] drm/bridge: move
drm_atomic_helper_connector_hdmi_check() to drm_bridge_connector
Reduce boilerplate code and move calls to
drm_atomic_helper_connector_hdmi_check() to the drm_bridge_connector.
Initially the drm_bridge_connector didn't use HDMI state helpers
directly, so each driver had to call that function on its own. Since the
commit 9a71cf8b6fa4 ("drm/bridge-connector: reset the HDMI connector
state") it depends on DRM_DISPLAY_HDMI_STATE_HELPER, allowing us to use
the helper from the generic code too.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
---
Dmitry Baryshkov (4):
drm/display: bridge_connector: provide atomic_check for HDMI bridges
drm/bridge: ite-it6263: drop atomic_check() callback
drm/bridge: lontium-lt9611: drop atomic_check() callback
drm/bridge: dw-hdmi-qp: drop atomic_check() callback
drivers/gpu/drm/bridge/ite-it6263.c | 10 ----------
drivers/gpu/drm/bridge/lontium-lt9611.c | 10 ----------
drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.c | 17 -----------------
drivers/gpu/drm/display/drm_bridge_connector.c | 13 +++++++++++++
4 files changed, 13 insertions(+), 37 deletions(-)
---
base-commit: 84e541b1e58e04d808e1bb13ef566ffbe87aa89b
change-id: 20241205-bridge_hdmi_check-9fd86dd5b290
Best regards,
--
Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
Powered by blists - more mailing lists