From 99b8438d0e562963f46fd5dfc2c48869aa589084 Mon Sep 17 00:00:00 2001 From: Krishna Srinivas Date: Wed, 25 May 2016 14:29:39 -0700 Subject: msm: mdss: update csc table on cdm block based on configuration Update csc type table on cdm block based on configuration from kernel client. Add proper validation checks in wfd interface before updating the csc table to valid selection. Change-Id: Id3a0f68c30919029df01e003a1bcb39ff894574c Signed-off-by: Dhaval Patel Signed-off-by: Krishna Srinivas --- include/uapi/linux/msm_mdp_ext.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'include/uapi/linux') diff --git a/include/uapi/linux/msm_mdp_ext.h b/include/uapi/linux/msm_mdp_ext.h index 1a71e860ba48..cadde7aa0b3c 100644 --- a/include/uapi/linux/msm_mdp_ext.h +++ b/include/uapi/linux/msm_mdp_ext.h @@ -165,6 +165,8 @@ VALIDATE/COMMIT FLAG CONFIGURATION #define MDP_COMMIT_VERSION_1_0 0x00010000 +#define OUT_LAYER_COLOR_SPACE + /********************************************************************** Configuration structures All parameters are input to driver unless mentioned output parameter @@ -357,8 +359,11 @@ struct mdp_output_layer { /* Buffer attached with output layer. Device uses it for commit call */ struct mdp_layer_buffer buffer; + /* color space of the destination */ + enum mdp_color_space color_space; + /* 32bits reserved value for future usage. */ - uint32_t reserved[6]; + uint32_t reserved[5]; }; /* -- cgit v1.2.3 From a400e381d0386c45af839b8058f6f8de542ba807 Mon Sep 17 00:00:00 2001 From: Ray Zhang Date: Sat, 22 Oct 2016 02:15:10 +0800 Subject: msm: mdss: add support to change HDMI PLL PPM Add sysfs and ioctl to adjust HDMI clock rate by certain PPM. This function is required by clock recovery in broadcast in which HDMI PLL should be adjusted in order to reduce the clock drift in broadcast. CRs-Fixed: 1086894 Change-Id: I1df15dd6aec44ae3e78bd4f80dc70d0d04760687 Signed-off-by: Ray Zhang --- include/uapi/linux/msm_mdp_ext.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/uapi/linux') diff --git a/include/uapi/linux/msm_mdp_ext.h b/include/uapi/linux/msm_mdp_ext.h index 1a71e860ba48..3a049c1ba69a 100644 --- a/include/uapi/linux/msm_mdp_ext.h +++ b/include/uapi/linux/msm_mdp_ext.h @@ -30,6 +30,12 @@ #define MSMFB_MDP_SET_CFG _IOW(MDP_IOCTL_MAGIC, 130, \ struct mdp_set_cfg) +/* + * Ioctl for setting the PLL PPM. + * PLL PPM is passed by the user space using this IOCTL. + */ +#define MSMFB_MDP_SET_PANEL_PPM _IOW(MDP_IOCTL_MAGIC, 131, int) + /* * To allow proper structure padding for 64bit/32bit target */ -- cgit v1.2.3