mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-21 04:53:46 -04:00
Revert "drm/bridge: Add a drm_bridge_state object"
This reverts commit 6ed7e9625f ("drm/bridge: Add a drm_bridge_state
object") which introduced a circular dependency between drm.ko and
drm_kms_helper.ko. Looks like the helper/core split is not appropriate
and fixing that is not simple.
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200107185807.606999-6-boris.brezillon@collabora.com
This commit is contained in:
@@ -730,26 +730,6 @@ drm_atomic_helper_check_modeset(struct drm_device *dev,
|
||||
return ret;
|
||||
}
|
||||
|
||||
/*
|
||||
* Iterate over all connectors again, and add all affected bridges to
|
||||
* the state.
|
||||
*/
|
||||
for_each_oldnew_connector_in_state(state, connector,
|
||||
old_connector_state,
|
||||
new_connector_state, i) {
|
||||
struct drm_encoder *encoder;
|
||||
|
||||
encoder = old_connector_state->best_encoder;
|
||||
ret = drm_atomic_add_encoder_bridges(state, encoder);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
encoder = new_connector_state->best_encoder;
|
||||
ret = drm_atomic_add_encoder_bridges(state, encoder);
|
||||
if (ret)
|
||||
return ret;
|
||||
}
|
||||
|
||||
ret = mode_valid(state);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user