Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 551493ae authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: mdss: Initialize max target zorder to 4 for msm8992"

parents 6b43615d 5421dbe5
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -1092,11 +1092,15 @@ static void mdss_mdp_hw_rev_caps_init(struct mdss_data_type *mdata)
	switch (mdata->mdp_rev) {
	case MDSS_MDP_HW_REV_105:
	case MDSS_MDP_HW_REV_109:
	case MDSS_MDP_HW_REV_110:
		mdss_set_quirk(mdata, MDSS_QUIRK_BWCPANIC);
		mdata->max_target_zorder = 7; /* excluding base layer */
		mdata->max_cursor_size = 128;
		break;
	case MDSS_MDP_HW_REV_110:
		mdss_set_quirk(mdata, MDSS_QUIRK_BWCPANIC);
		mdata->max_target_zorder = 4; /* excluding base layer */
		mdata->max_cursor_size = 128;
		break;
	default:
		mdata->max_target_zorder = 4; /* excluding base layer */
		mdata->max_cursor_size = 64;