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

Commit 04ef55a7 authored by Jayant Shekhar's avatar Jayant Shekhar
Browse files

Revert "msm: sde: rotator: Enable traffic shaper for 4k@60fps layer"



This reverts commit 7d6f012e.
Traffic shaper is not required for 60fps 4k video. OT settings
will take care of this.

Change-Id: Id6e65da102c7fa43cf215129643c7a54e6a72085
Signed-off-by: default avatarJayant Shekhar <jshekhar@codeaurora.org>
parent 8069e329
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -668,11 +668,11 @@ static void sde_hw_rotator_setup_fetchengine(struct sde_hw_rotator_context *ctx,

	/*
	 * Determine if traffic shaping is required. Only enable traffic
	 * shaping when content is 4k@60fps. The actual traffic shaping
	 * shaping when content is 4k@30fps. The actual traffic shaping
	 * bandwidth calculation is done in output setup.
	 */
	if (((cfg->src_rect->w * cfg->src_rect->h) >= RES_UHD) &&
			(cfg->fps <= 60)) {
			(cfg->fps <= 30)) {
		SDEROT_DBG("Enable Traffic Shaper\n");
		ctx->is_traffic_shaping = true;
	} else {