mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
drm/rockchip: dsi: support dual-link mode
Display Pipeline:
1) dual-channel mode
--> dsi0 --> dphy_tx0 -->
/ ! \
vopl/vopb --> dphy_pll --> panel
\ ! /
--> dsi1 --> dphy_tx1 -->
2) dual-link mode
vopb/vopl --> dsi0 --> dphy_tx0 --> panel0
!
dphy_pll
!
vopl/vopb --> dsi1 --> dphy_tx1 --> panel1
Change-Id: Iddbea22f121959e4afa969d74549d8fb66ab09f1
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
This commit is contained in:
@@ -1279,6 +1279,9 @@ dw_mipi_dsi_encoder_atomic_check(struct drm_encoder *encoder,
|
||||
if (dsi->slave)
|
||||
s->output_flags |= ROCKCHIP_OUTPUT_DSI_DUAL_CHANNEL;
|
||||
|
||||
if (dsi->id)
|
||||
s->output_flags |= ROCKCHIP_OUTPUT_DSI_DUAL_LINK;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user