From cfc8fc0fd5d53c189bc4030e99c149f56bee7d33 Mon Sep 17 00:00:00 2001 From: Benet Clark Date: Fri, 18 Dec 2015 07:51:08 -0800 Subject: msm: mdss: Add Rec2020 YUV conversion to CSC tables Rec2020 CSC type will be set by hwcomposer when incoming YUV data is of the same type. CRs-Fixed: 1081779 Change-Id: I321bd79d04e135030764dcdf83a58fee3c4e72c8 Signed-off-by: Benet Clark --- include/uapi/linux/msm_mdp.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'include/uapi/linux') diff --git a/include/uapi/linux/msm_mdp.h b/include/uapi/linux/msm_mdp.h index 1df65c7f90b3..f0ac02e9c7a8 100644 --- a/include/uapi/linux/msm_mdp.h +++ b/include/uapi/linux/msm_mdp.h @@ -1406,12 +1406,21 @@ enum { MDP_WRITEBACK_MIRROR_RESUME, }; +/* + * The enum values are continued below as preprocessor macro definitions + */ enum mdp_color_space { MDP_CSC_ITU_R_601, MDP_CSC_ITU_R_601_FR, MDP_CSC_ITU_R_709, }; +/* + * These definitions are a continuation of the mdp_color_space enum above + */ +#define MDP_CSC_ITU_R_2020 (MDP_CSC_ITU_R_709 + 1) +#define MDP_CSC_ITU_R_2020_FR (MDP_CSC_ITU_R_2020 + 1) + enum { mdp_igc_v1_7 = 1, mdp_igc_vmax, -- cgit v1.2.3