From c74f9b5df236b1685afa7df107c00e08a6d2aa21 Mon Sep 17 00:00:00 2001 From: Ping Li Date: Tue, 28 Oct 2014 18:34:54 -0700 Subject: msm: mdss: Add dither support for Thulium MDP block supports dither feature in DSPPs (destination surface processing pipes) which can be enabled or disabled by driver clients. This change adds the support in post-processing driver to allow dither configuration in DSPPs. Change-Id: I2bd2da482f3d204649351bebdbe66bd5dab7a187 Signed-off-by: Ping Li --- include/uapi/linux/msm_mdp.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/uapi/linux') diff --git a/include/uapi/linux/msm_mdp.h b/include/uapi/linux/msm_mdp.h index 72595ecf2cd4..05c4fcf4bc5e 100644 --- a/include/uapi/linux/msm_mdp.h +++ b/include/uapi/linux/msm_mdp.h @@ -932,6 +932,11 @@ struct mdp_pa_cfg_data { struct mdp_pa_cfg pa_data; }; +enum { + mdp_dither_v1_7 = 1, + mdp_dither_vmax, +}; + struct mdp_dither_data_v1_7 { uint32_t g_y_depth; uint32_t r_cr_depth; -- cgit v1.2.3