Parcourir la source

disp: msm: sde: update splash resource allocation for dual display

Correct the splash resource allocation counter for getting ctl
ids as passed from uefi for dual-display usecase for successful
splash-handoff.

Change-Id: Iffb6649073443e3c319077318e009b910ea53416
Signed-off-by: Prashant Singh <[email protected]>
Prashant Singh il y a 6 ans
Parent
commit
dbb1a3eee9
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      msm/sde/sde_rm.c

+ 1 - 1
msm/sde/sde_rm.c

@@ -1546,8 +1546,8 @@ int sde_rm_cont_splash_res_init(struct msm_drm_private *priv,
 			splash_display->cont_splash_enabled = true;
 			splash_display->ctl_ids[splash_display->ctl_cnt++] =
 				iter_c.blk->id;
+			index++;
 		}
-		index++;
 	}
 
 	return 0;