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

Commit 63ba52c2 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: always get the rotator destination format"

parents f08dc307 01b10529
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -341,11 +341,8 @@ static int mdss_mdp_writeback_prepare_rot(struct mdss_mdp_ctl *ctl, void *arg)
		return -EINVAL;
	}

	if (ctx->bwc_mode || ctx->rot90)
	format = mdss_mdp_get_rotator_dst_format(rot->format,
			ctx->rot90, ctx->bwc_mode);
	else
		format = rot->format;

	if (ctx->rot90)
		ctx->opmode |= BIT(5); /* ROT 90 */