[PATCH v10 47/69] drm/display: hdmi-state-helper: Drop drm_atomic_helper_connector_hdmi_force()
Cristian Ciocaltea <[email protected]> Fri, 31 Jul 2026 19:19:54 +0300
| Newsgroups | dev.linux.lists.linux-sunxi,org.freedesktop.lists.dri-devel,org.infradead.lists.linux-arm-kernel,org.infradead.lists.linux-rockchip,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
With all callers converted to the .force_ctx() connector helper, this function has no users left. Remove it. Signed-off-by: Cristian Ciocaltea <[email protected]> --- drivers/gpu/drm/display/drm_hdmi_state_helper.c | 15 --------------- include/drm/display/drm_hdmi_state_helper.h | 1 - 2 files changed, 16 deletions(-) diff --git a/drivers/gpu/drm/display/drm_hdmi_state_helper.c b/drivers/gpu/drm/display/drm_hdmi_state_helper.c index 9544eb8659aa..04c9e06b9dc1 100644 --- a/drivers/gpu/drm/display/drm_hdmi_state_helper.c +++ b/drivers/gpu/drm/display/drm_hdmi_state_helper.c @@ -1261,21 +1261,6 @@ int drm_atomic_helper_connector_hdmi_hotplug(struct drm_connector *connector, } EXPORT_SYMBOL(drm_atomic_helper_connector_hdmi_hotplug); -/** - * drm_atomic_helper_connector_hdmi_force - HDMI Connector implementation of the force callback - * @connector: A pointer to the HDMI connector - * - * This function implements the .force() callback for the HDMI connectors. It - * can either be used directly as the callback or should be called from within - * the .force() callback implementation to maintain the HDMI-specific - * connector's data. - */ -void drm_atomic_helper_connector_hdmi_force(struct drm_connector *connector) -{ - drm_atomic_helper_connector_hdmi_update(connector, NULL, connector->status); -} -EXPORT_SYMBOL(drm_atomic_helper_connector_hdmi_force); - /** * drm_atomic_helper_connector_hdmi_force_ctx - HDMI Connector implementation * of the force_ctx callback diff --git a/include/drm/display/drm_hdmi_state_helper.h b/include/drm/display/drm_hdmi_state_helper.h index ae4fff82c3fb..81c85b4dce56 100644 --- a/include/drm/display/drm_hdmi_state_helper.h +++ b/include/drm/display/drm_hdmi_state_helper.h @@ -26,7 +26,6 @@ int drm_atomic_helper_connector_hdmi_update_infoframes(struct drm_connector *con int drm_atomic_helper_connector_hdmi_hotplug(struct drm_connector *connector, struct drm_modeset_acquire_ctx *ctx, enum drm_connector_status status); -void drm_atomic_helper_connector_hdmi_force(struct drm_connector *connector); int drm_atomic_helper_connector_hdmi_force_ctx(struct drm_connector *connector, struct drm_modeset_acquire_ctx *ctx); -- 2.55.0