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