Revert "drm/bridge: Fix a NULL pointer dereference in drm_atomic_bridge_chain_check()"
authorBoris Brezillon <boris.brezillon@collabora.com>
Tue, 7 Jan 2020 18:58:03 +0000 (19:58 +0100)
committerBoris Brezillon <boris.brezillon@collabora.com>
Tue, 7 Jan 2020 23:33:24 +0000 (00:33 +0100)
commit6ae1a4bbe1138e883c34ea78ef29986d9f420bd7
tree983cc843aa08a105fe223c7e04d1f4393ef73f5f
parent292f3e496be0cac933dfa86e9d0bea5d96224c14
Revert "drm/bridge: Fix a NULL pointer dereference in drm_atomic_bridge_chain_check()"

This reverts commit b18398c16e17 ("drm/bridge: Fix a NULL pointer
dereference in drm_atomic_bridge_chain_check()"). Commit 6ed7e9625fa6
("drm/bridge: Add a drm_bridge_state object") introduced a circular
dependency between drm.ko and drm_kms_helper.ko which uncovered a
misdesign in how the whole thing was implemented. Let's revert all
patches depending on the bridge_state infrastructure for now.

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-2-boris.brezillon@collabora.com
drivers/gpu/drm/drm_bridge.c