From cc7c1fe8ecec23ebdcd3f4dae92ac9dd1e41f296 Mon Sep 17 00:00:00 2001 From: Terence Hampson Date: Tue, 25 Aug 2015 10:49:41 -0400 Subject: [PATCH] uapi: msm: mdss: add flag to indicate if content is interlaced When rotation session involves an interlaced layer that is intended to be deinterlaced by MDP, client is expected to pass in flag indicating rotator needs to deinterlace content. Change-Id: I27c009e32cd82e00713c20b3accb2efbe5587344 Signed-off-by: Terence Hampson --- include/uapi/linux/mdss_rotator.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/uapi/linux/mdss_rotator.h b/include/uapi/linux/mdss_rotator.h index d7c6ebbf3686..cc30aaa61b2f 100644 --- a/include/uapi/linux/mdss_rotator.h +++ b/include/uapi/linux/mdss_rotator.h @@ -41,6 +41,9 @@ Rotation request flag /* rotate 270 degree */ #define MDP_ROTATION_270 (MDP_ROTATION_90 | MDP_ROTATION_180) +/* format is interlaced */ +#define MDP_ROTATION_DEINTERLACE 0x10 + /* enable bwc */ #define MDP_ROTATION_BWC_EN 0x40