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

Commit 2613fbd1 authored by Veera Sundaram Sankaran's avatar Veera Sundaram Sankaran Committed by Matt Wagantall
Browse files

msm: mdss: re-factor new rotator flags



Change rot_180 and rot_270 flags to be a combination of few other
flags, as those would summarize the respective operation. This
would adhere more to how hardware behaves and also allows more
combinations.

Change-Id: Ib8e6e9e01710b773284e3ec496c689b8d786502c
Signed-off-by: default avatarVeera Sundaram Sankaran <veeras@codeaurora.org>
parent f4d39cd1
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -36,10 +36,10 @@ Rotation request flag
#define MDP_ROTATION_90		0x08

/* rotate 180 degre */
#define MDP_ROTATION_180		0x10
#define MDP_ROTATION_180	(MDP_ROTATION_FLIP_LR | MDP_ROTATION_FLIP_UD)

/* rotate 270 degree */
#define MDP_ROTATION_270		0x20
#define MDP_ROTATION_270	(MDP_ROTATION_90 | MDP_ROTATION_180)

/* enable bwc */
#define MDP_ROTATION_BWC_EN	0x40