diff options
| author | Gopikrishnaiah Anandan <agopik@codeaurora.org> | 2016-06-23 11:43:08 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-10-04 14:11:47 -0700 |
| commit | 3c858bf63e2bef324adda789a5539eb0c74933b4 (patch) | |
| tree | 5091add2b12a5634fdcdd7a061e13c346de39eff /include | |
| parent | e38167ab67a7cdc0125cfb059824ee3a595e8c2c (diff) | |
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 <agopik@codeaurora.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/uapi/drm/msm_drm_pp.h | 6 |
1 files changed, 6 insertions, 0 deletions
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_ */ |
