diff options
| author | Krishna Chaitanya Parimi <cparimi@codeaurora.org> | 2014-02-10 15:26:06 +0530 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:26:50 -0700 |
| commit | bffa797e4191cc2ccc8a7e79c539ec1ce359976b (patch) | |
| tree | 3714dfe9cc19939ea582567b49aa18fa5332daf8 /drivers/video/fbdev/msm | |
| parent | 51844883dd88e2ca2bdab82ad919486e4f63cb68 (diff) | |
ARM: dts: mdss: Add boolean property for LUT readability
LUT read is not supported by hardware in the case of msm8226.
Adding property to dtsi file to denote the absense of support
for read in hardware.
Change-Id: I29cf869af4135e1199bc0feb4369700b994520ec
Signed-off-by: Krishna Chaitanya Parimi <cparimi@codeaurora.org>
Diffstat (limited to 'drivers/video/fbdev/msm')
| -rw-r--r-- | drivers/video/fbdev/msm/mdss.h | 1 | ||||
| -rw-r--r-- | drivers/video/fbdev/msm/mdss_mdp.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/fbdev/msm/mdss.h b/drivers/video/fbdev/msm/mdss.h index 1e38f6032b08..e18ba4723a34 100644 --- a/drivers/video/fbdev/msm/mdss.h +++ b/drivers/video/fbdev/msm/mdss.h @@ -115,6 +115,7 @@ struct mdss_data_type { u32 has_bwc; u32 has_decimation; u32 wfd_mode; + u32 has_no_lut_read; u8 has_wb_ad; u8 has_non_scalar_rgb; diff --git a/drivers/video/fbdev/msm/mdss_mdp.c b/drivers/video/fbdev/msm/mdss_mdp.c index efc65f09396b..4b5dc618db87 100644 --- a/drivers/video/fbdev/msm/mdss_mdp.c +++ b/drivers/video/fbdev/msm/mdss_mdp.c @@ -2285,6 +2285,8 @@ static int mdss_mdp_parse_dt_misc(struct platform_device *pdev) "qcom,mdss-has-bwc"); mdata->has_decimation = of_property_read_bool(pdev->dev.of_node, "qcom,mdss-has-decimation"); + mdata->has_no_lut_read = of_property_read_bool(pdev->dev.of_node, + "qcom,mdss-no-lut-read"); wfd_data = of_get_property(pdev->dev.of_node, "qcom,mdss-wfd-mode", NULL); if (wfd_data) { |
