Skip to content

disp: msm: add external bridge Support - #20

Merged
abdesai133410 merged 6 commits into
qualcomm-linux:mainfrom
arpit-dev-geek:arpit_main
Jul 28, 2026
Merged

disp: msm: add external bridge Support#20
abdesai133410 merged 6 commits into
qualcomm-linux:mainfrom
arpit-dev-geek:arpit_main

Conversation

@arpit-dev-geek

Copy link
Copy Markdown
Contributor

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.

@github-advanced-security

Copy link
Copy Markdown

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:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@arpit-dev-geek arpit-dev-geek changed the title add external bridge Support disp: msm: add external bridge Support Jul 27, 2026
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>
@abdesai133410
abdesai133410 merged commit 8326898 into qualcomm-linux:main Jul 28, 2026
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants