On Wed, Mar 29, 2023 at 06:46:08PM +0530, Jagan Teki wrote: > Implement a DRM-managed action helper that returns the next DSI bridge > in the chain. > > Unlike general bridge return helper drmm_of_get_bridge, this helper > uses the dsi specific panel_or_bridge helper to find the next DSI > device in the pipeline. > > Helper lookup a given downstream DSI device that has been added via > child or OF-graph port or ports node. > > Upstream DSI looks for downstream devices using drm pointer, port and > endpoint number. Downstream devices added via child node don't affect > the port and endpoint number arguments. > > Signed-off-by: Jagan Teki If you intend to use it with the sun4i driver, then don't. The sun4i driver is barely using drm-managed resources, so chances are all its resources will be freed by the time this action will run. Maxime