From 3c858bf63e2bef324adda789a5539eb0c74933b4 Mon Sep 17 00:00:00 2001 From: Gopikrishnaiah Anandan Date: Thu, 23 Jun 2016 11:43:08 -0700 Subject: drm/msm: Add support for PA vLut feature Picture adjustment block supports vLut block which can enhance the contrast of the pixels. Change adds support to expose the feature to user-space and program the vLut registers for the display. Change-Id: I9822f9711b9048c5db8c313204a6ba64e013f8a9 Signed-off-by: Gopikrishnaiah Anandan --- include/uapi/drm/msm_drm_pp.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') diff --git a/include/uapi/drm/msm_drm_pp.h b/include/uapi/drm/msm_drm_pp.h index efe83a3ae38d..a65dacff1ff3 100644 --- a/include/uapi/drm/msm_drm_pp.h +++ b/include/uapi/drm/msm_drm_pp.h @@ -42,4 +42,10 @@ struct drm_msm_pcc { struct drm_msm_pcc_coeff b; }; +#define PA_VLUT_SIZE 256 +struct drm_msm_pa_vlut { + __u64 flags; + __u32 val[PA_VLUT_SIZE]; +}; + #endif /* _MSM_DRM_PP_H_ */ -- cgit v1.2.3