drm/panel: Add prepare_upstream_first flag to drm_panel
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Wed, 23 Feb 2022 15:36:56 +0000 (15:36 +0000)
committerDom Cobley <popcornmix@gmail.com>
Mon, 21 Mar 2022 16:04:47 +0000 (16:04 +0000)
commit6e37e209929f9f43a662e81921491dd6793d312c
tree3e8c9218be98435ff847306ab09da30323fc8455
parent0378307fb0196607ee3cc1fb5f5c588ab00918b0
drm/panel: Add prepare_upstream_first flag to drm_panel

Mapping to the drm_bridge flag pre_enable_upstream_first,
add a new flag prepare_upstream_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>
drivers/gpu/drm/bridge/panel.c
include/drm/drm_panel.h