msm: sde: rotator: Enable traffic shaper for 4k@60fps layer
Set OT values to default and enable traffic shaper for 4k 60fps layer. Change-Id: I34ed7e94c8a323d19cdaeb65b87d853cce8957c9 Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
This commit is contained in:
parent
823d04d683
commit
7d6f012ed1
1 changed files with 2 additions and 2 deletions
|
@ -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
|
* Determine if traffic shaping is required. Only enable traffic
|
||||||
* shaping when content is 4k@30fps. The actual traffic shaping
|
* shaping when content is 4k@60fps. The actual traffic shaping
|
||||||
* bandwidth calculation is done in output setup.
|
* bandwidth calculation is done in output setup.
|
||||||
*/
|
*/
|
||||||
if (((cfg->src_rect->w * cfg->src_rect->h) >= RES_UHD) &&
|
if (((cfg->src_rect->w * cfg->src_rect->h) >= RES_UHD) &&
|
||||||
(cfg->fps <= 30)) {
|
(cfg->fps <= 60)) {
|
||||||
SDEROT_DBG("Enable Traffic Shaper\n");
|
SDEROT_DBG("Enable Traffic Shaper\n");
|
||||||
ctx->is_traffic_shaping = true;
|
ctx->is_traffic_shaping = true;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue