]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/bridge: analogix_dp: Apply panel_bridge helper
authorDamon Ding <damon.ding@rock-chips.com>
Mon, 13 Apr 2026 13:25:51 +0000 (21:25 +0800)
committerLuca Ceresoli <luca.ceresoli@bootlin.com>
Mon, 13 Apr 2026 15:43:46 +0000 (17:43 +0200)
commit1b86a69b61df411354da70d9528f022833bee4d7
tree02a566515a00c693ecfb1ad5c2e28f479730c79d
parent2bfc4e192f04260c2eead9b79274d39984f5a143
drm/bridge: analogix_dp: Apply panel_bridge helper

In order to unify the handling of the panel and bridge, apply
panel_bridge helpers for Analogix DP driver. With this patch, the
bridge support will also become available.

The following changes have ben made:
- Apply plane_bridge helper to wrap the panel as the bridge.
- Remove the explicit panel APIs calls, which can be replaced with
  the automic bridge APIs calls wrapped by the panel.
- Remove the unnecessary analogix_dp_bridge_get_modes().

Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Tested-by: Heiko Stuebner <heiko@sntech.de> # rk3588
Link: https://patch.msgid.link/20260413132551.1049307-9-damon.ding@rock-chips.com
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
drivers/gpu/drm/bridge/analogix/analogix_dp_core.c