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

Commit 0e96afd8 authored by Benjamin Chan's avatar Benjamin Chan Committed by Narendra Muppalla
Browse files

msm: sde: Change SDE rotator downscale factor restriction



SDE rotator downscale factor restriction should be checked against on
output format, and not input format.

CRs-Fixed: 1112607
Change-Id: I91368607b90aa39dcaa6230c145bcfc576956999
Signed-off-by: default avatarBenjamin Chan <bkchan@codeaurora.org>
Signed-off-by: default avatarNarendra Muppalla <NarendraM@codeaurora.org>
parent 59a06057
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2085,7 +2085,7 @@ static int sde_hw_rotator_validate_entry(struct sde_rot_mgr *mgr,
		}
	}

	fmt = sde_get_format_params(item->input.format);
	fmt = sde_get_format_params(item->output.format);
	/*
	 * Rotator downscale support max 4 times for UBWC format and
	 * max 2 times for TP10/TP10_UBWC format