From f423ac1538f962cdc27102175854adb1a3ec0d6e Mon Sep 17 00:00:00 2001 From: Benet Clark Date: Thu, 5 Feb 2015 19:01:14 -0800 Subject: msm: mdss: Add atomic commit PP support This change adds support for SSPP postprocessing using the atomic commit ioctl. The configuration given as part of the ioctl will be cached in the same pipe res as before, and the register programming sequence will be called from the pipe setup as before. Change-Id: Ida8209f80e55e9d5009b5df4e55f787b4a85ddc0 Signed-off-by: Benet Clark --- include/uapi/linux/msm_mdp.h | 2 +- include/uapi/linux/msm_mdp_ext.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'include/uapi') diff --git a/include/uapi/linux/msm_mdp.h b/include/uapi/linux/msm_mdp.h index 02bb9d864830..d728fc4a5444 100644 --- a/include/uapi/linux/msm_mdp.h +++ b/include/uapi/linux/msm_mdp.h @@ -564,7 +564,7 @@ enum { mdp_igc_rec601 = 1, mdp_igc_rec709, mdp_igc_custom, - mdp_igc_mode_max, + mdp_igc_rec_max, }; struct mdp_igc_lut_data { diff --git a/include/uapi/linux/msm_mdp_ext.h b/include/uapi/linux/msm_mdp_ext.h index b1dbf24b0ccc..afb462069224 100644 --- a/include/uapi/linux/msm_mdp_ext.h +++ b/include/uapi/linux/msm_mdp_ext.h @@ -59,6 +59,9 @@ LAYER FLAG CONFIGURATION /* layer is async position updatable */ #define MDP_LAYER_ASYNC 0x100 +/* layer contains postprocessing configuration data */ +#define MDP_LAYER_PP 0x200 + /********************************************************************** VALIDATE/COMMIT FLAG CONFIGURATION **********************************************************************/ -- cgit v1.2.3