瀏覽代碼

disp: msm: sde: fix cwb lm allocation failures in RM

This change corrects the conditional check in commit 2859b760a414
("disp: msm: sde: proper allocation of dcwb for LMs") with respect
to DCWB mixer allocation in RM.

Change-Id: I83fd39ed366774f20046b8f9c0e6959116b541ee
Signed-off-by: Mahadevan <[email protected]>
Mahadevan 3 年之前
父節點
當前提交
a1f4bdb7d9
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      msm/sde/sde_rm.c

+ 3 - 3
msm/sde/sde_rm.c

@@ -2408,13 +2408,13 @@ static int _sde_rm_populate_requirements(
 
 	SDE_DEBUG("top_ctrl: 0x%llX num_h_tiles: %d\n", reqs->top_ctrl,
 			reqs->hw_res.display_num_of_h_tiles);
-	SDE_DEBUG("num_lm: %d num_ctl: %d topology: %d split_display: %d\n",
+	SDE_DEBUG("num_lm: %d num_ctl: %d topology: %d split_display: %d mask: 0x%llX\n",
 			reqs->topology->num_lm, reqs->topology->num_ctl,
 			reqs->topology->top_name,
-			reqs->topology->needs_split_display);
+			reqs->topology->needs_split_display, reqs->conn_lm_mask);
 	SDE_EVT32(mode->hdisplay, rm->lm_max_width, reqs->topology->num_lm,
 			reqs->top_ctrl, reqs->topology->top_name,
-			reqs->topology->num_ctl);
+			reqs->topology->num_ctl, reqs->conn_lm_mask);
 
 	return 0;
 }