drm/bridge: Clarify the atomic enable/disable hooks semantics
authorBoris Brezillon <boris.brezillon@collabora.com>
Tue, 3 Dec 2019 14:15:11 +0000 (15:15 +0100)
committerBoris Brezillon <boris.brezillon@collabora.com>
Mon, 9 Dec 2019 09:08:56 +0000 (10:08 +0100)
commitf3fdbc721b8bc99c692716cf9a3cf061b5a49a18
tree19989acd3ab282fa5c547ab4561df091f1a61abd
parentac877c64c87aff5d228cf53e40d8f68899afa815
drm/bridge: Clarify the atomic enable/disable hooks semantics

The [pre_]enable/[post_]disable hooks are passed the old atomic state.
Update the doc and rename the arguments to make it clear.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191203141515.3597631-8-boris.brezillon@collabora.com
drivers/gpu/drm/drm_bridge.c
include/drm/drm_bridge.h