drm/sde: only set split registers for DSI interfaces
The SPLIT related registers are only for DSI interfaces. Without checking the interface type, they could be overwrote by configurations through HDMI path. CRs-Fixed: 1085586 Change-Id: I7ace9fd8dfe5ee99cb750b2723e8f22701039552 Signed-off-by: Jin Li <jinl@codeaurora.org> Signed-off-by: Yunyun Cao <yunyunc@codeaurora.org>
This commit is contained in:
parent
ee02df530d
commit
9894f9ab8f
1 changed files with 4 additions and 0 deletions
|
@ -42,6 +42,10 @@ static void sde_hw_setup_split_pipe(struct sde_hw_mdp *mdp,
|
||||||
if (!mdp || !cfg)
|
if (!mdp || !cfg)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
/* The SPLIT registers are only for DSI interfaces */
|
||||||
|
if ((cfg->intf != INTF_1) && (cfg->intf != INTF_2))
|
||||||
|
return;
|
||||||
|
|
||||||
if (cfg->en) {
|
if (cfg->en) {
|
||||||
if (cfg->mode == INTF_MODE_CMD) {
|
if (cfg->mode == INTF_MODE_CMD) {
|
||||||
lower_pipe = FLD_SPLIT_DISPLAY_CMD;
|
lower_pipe = FLD_SPLIT_DISPLAY_CMD;
|
||||||
|
|
Loading…
Add table
Reference in a new issue