disp: msm: add external bridge Support - #20
Merged
Conversation
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
For ext_bridge_mode, use DRM bridge callbacks directly for mode detection, mode enumeration, and mode validation instead of routing requests through connector helper operations. Simplify external bridge initialization by removing connector list lookups and assigning the external connector ops. Signed-off-by: Arpit Saini <arpisain@qti.qualcomm.com>
Use drm_of_find_panel_or_bridge() to discover and bind drm bridge/panel. Also rename dsi_display_populate_modes_from_drm_panel() to dsi_display_setup_mode_from_drm() to reflect its broader use beyond DRM panels. Signed-off-by: Arpit Saini <arpisain@qti.qualcomm.com>
In ext_bridge_mode the downstream device is a DRM bridge rather than a DSI panel. Skip panel initialization, lifecycle callbacks, and command handling, as these operations are not relevant. Signed-off-by: Arpit Saini <arpisain@qti.qualcomm.com>
Add DRM mode setup and topology handling for ext_bridge_mode by routing mode configuration through the bridge path and bypassing panel-specific mode operations where applicable. Provide default LM topology information for bridge-backed displays will derive this later dynamically from DPU catalog. Signed-off-by: Arpit Saini <arpisain@qti.qualcomm.com>
…ness Configure video mode parameters from MIPI DSI mode flags and improve bridge initialization and attachment handling. Signed-off-by: Arpit Saini <arpisain@qti.qualcomm.com>
In dsi_phy_hw_calculate_timing_params(), populate host->t_clk_pre and host->t_clk_post from the calculated PHY timing descriptor when both values are not set. Signed-off-by: Arpit Saini <arpisain@qti.qualcomm.com>
arpit-dev-geek
force-pushed
the
arpit_main
branch
from
July 28, 2026 05:32
251f9a7 to
27b93ac
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add support for external DRM bridge connectivity in the DSI display driver.
This series routes connector ops (get_modes, atomic_check) through the external bridge, detects DRM bridges during display bind, and skips DSI panel lifecycle ops.
Mode handling is added for ext_bridge_mode panels, video traffic mode flags are corrected, and bridge attach error handling is tightened.
PHY timing fallback for t_clk_pre/post is added to ensure robust link bring-up with external bridges.