Forráskód Böngészése

disp: msm: dp: fix messaging on dp mode validation failure

Updated the log message on a LM check failure during mode validation
to print the correct available LM value that is being used in the
check.

Change-Id: Ie719dead04bacee70d44e30c0069ce9099a69570
Signed-off-by: Rajkumar Subbiah <[email protected]>
Rajkumar Subbiah 2 éve
szülő
commit
6d55e0b68e
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      msm/dp/dp_display.c

+ 2 - 2
msm/dp/dp_display.c

@@ -2947,8 +2947,8 @@ static int dp_display_validate_topology(struct dp_display_private *dp,
 			+ dp_panel->max_lm;
 
 	if (num_lm > avail_lm) {
-		DP_DEBUG("mode %sx%d is invalid, not enough lm %d %d\n",
-				mode->name, fps, num_lm, avail_res->num_lm);
+		DP_DEBUG("mode %sx%d is invalid, not enough lm req:%d avail:%d\n",
+				mode->name, fps, num_lm, avail_lm);
 		rc = -EPERM;
 		goto end;
 	} else if (!num_dsc && (num_lm == dual && !num_3dmux)) {