drm/panel: Add prepare_prev_first flag to drm_panel
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Mon, 5 Dec 2022 17:33:27 +0000 (17:33 +0000)
committerMaxime Ripard <maxime@cerno.tech>
Thu, 8 Dec 2022 08:56:57 +0000 (09:56 +0100)
commit5ea6b17027810ffbdb5bea7d0a2b1d312dd1021c
treecb733c6a771c15a19f3f0a45bb9eea7d2fe2fc68
parent4fb912e5e19075874379cfcf074d90bd51ebf8ea
drm/panel: Add prepare_prev_first flag to drm_panel

Mapping to the drm_bridge flag pre_enable_prev_first,
add a new flag prepare_prev_first to drm_panel to allow
the panel driver to request that the upstream bridge should
be pre_enabled before the panel prepare.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20221205173328.1395350-6-dave.stevenson@raspberrypi.com
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
drivers/gpu/drm/bridge/panel.c
include/drm/drm_panel.h