diff options
| author | Luca Ceresoli <luca.ceresoli@bootlin.com> | 2026-09-16 15:45:43 +0200 |
|---|---|---|
| committer | Luca Ceresoli <luca.ceresoli@bootlin.com> | 2026-09-28 10:28:25 +0200 |
| commit | 90780f2c3d30187116128f71bcf92c8ab63400e7 (patch) | |
| tree | fd5be6267d22470d7cc485e3d285aa7ad05f23e3 /tools/perf/scripts/python/stackcollapse.py | |
| parent | ebafe6afaed9dd95257b2c6ac47adb2e4db79e0a (diff) | |
| download | linux-90780f2c3d30187116128f71bcf92c8ab63400e7.tar.gz linux-90780f2c3d30187116128f71bcf92c8ab63400e7.zip | |
drm/bridge: analogix_dp: don't create a panel_bridge
Now a panel_bridge is automatically created for every drm_panel and the
panel-bridge API is just a deprecated wrapper to access it.
Update and simplify the code by just getting a reference to the
already-existing bridge using of_drm_get_bridge_by_endpoint().
As of_drm_get_bridge_by_endpoint() returns a refcounted bridge, take care
of putting the bridge reference. This is not easily done in the remove path
due to the different probe paths of the user drivers, so add a devm action
to ensure the reference is put only when it was taken.
Assisted-by: opencode:deepseek-v4-flash-0731
Tested-by: Damon Ding <damon.ding@rock-chips.com>
Reviewed-by: Damon Ding <damon.ding@rock-chips.com>
Link: https://patch.msgid.link/20260916-drm-bridge-every-panel-v3-19-83afb4f1a707@bootlin.com
[Luca: remove now unused variable]
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
