drm/bridge: Patch atomic hooks to take a drm_bridge_state
authorBoris Brezillon <boris.brezillon@collabora.com>
Mon, 6 Jan 2020 14:34:07 +0000 (15:34 +0100)
committerNeil Armstrong <narmstrong@baylibre.com>
Tue, 7 Jan 2020 09:10:59 +0000 (10:10 +0100)
commitf7619a58ef9299c42a604ede063bb6e5b88098fb
tree24be531112b8bc8019665b6dccac660b99d7904e
parent6ed7e9625fa6a6ee8230945820544767ed5799c4
drm/bridge: Patch atomic hooks to take a drm_bridge_state

This way the drm_bridge_funcs interface is consistent with the rest of
the subsystem.

The only driver implementing those hooks (analogix DP) is patched too.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed by: Jernej Skrabec <jernej.skrabec@siol.net>
Tested-by: Jonas Karlman <jonas@kwiboo.se>
[narmstrong: renamed state as old_bridge_state in rcar_lvds_atomic_disable]
Link: https://patchwork.freedesktop.org/patch/msgid/20200106143409.32321-3-narmstrong@baylibre.com
drivers/gpu/drm/bridge/analogix/analogix_dp_core.c
drivers/gpu/drm/drm_bridge.c
drivers/gpu/drm/rcar-du/rcar_lvds.c
include/drm/drm_bridge.h