浏览代码

Merge "disp: msm: sde: program master intf register for single intf"

qctecmdr 3 年之前
父节点
当前提交
96782a0d63
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      msm/sde/sde_hw_ctl.c

+ 2 - 0
msm/sde/sde_hw_ctl.c

@@ -1003,6 +1003,8 @@ static int sde_hw_ctl_intf_cfg_v1(struct sde_hw_ctl *ctx,
 
 	if (cfg->intf_count > 1)
 		intf_master = BIT(cfg->intf_master - INTF_0);
+	else if (cfg->intf_count == 1)
+		intf_master = BIT(cfg->intf[0] - INTF_0);
 
 	for (i = 0; i < cfg->wb_count; i++) {
 		if (cfg->wb[i])