diff options
author | Inki Dae <inki.dae@samsung.com> | 2014-08-20 00:21:27 -0700 |
---|---|---|
committer | Gerrit Code Review <gerrit@review.vlan103.tizen.org> | 2014-08-20 00:21:27 -0700 |
commit | a292174d48681f6f8fb9b671317efd80ed321d8a (patch) | |
tree | 1e608626f8265938d1e373e526f0efd61ad0b011 /include | |
parent | 8c4a9d345ec0dd94258af99ed28e16179ce984b3 (diff) | |
parent | abf140172acbe5152ed3b09cdf6954ef7e38ba5c (diff) | |
download | linux-3.10-a292174d48681f6f8fb9b671317efd80ed321d8a.tar.gz linux-3.10-a292174d48681f6f8fb9b671317efd80ed321d8a.tar.bz2 linux-3.10-a292174d48681f6f8fb9b671317efd80ed321d8a.zip |
Merge "drm: fimc: support ipp dynamic color range" into tizen
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/drm/exynos_drm.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/uapi/drm/exynos_drm.h b/include/uapi/drm/exynos_drm.h index 01879bfa0b9..4b48799ada9 100644 --- a/include/uapi/drm/exynos_drm.h +++ b/include/uapi/drm/exynos_drm.h @@ -254,6 +254,12 @@ enum drm_exynos_ipp_cmd { IPP_CMD_MAX, }; +/* define of color range */ +enum drm_exynos_color_range { + COLOR_RANGE_LIMITED, /* Narrow: Y(16 to 235), Cb/Cr(16 to 240) */ + COLOR_RANGE_FULL, /* Wide: Y/Cb/Cr(0 to 255), Wide default */ +}; + /** * A structure for ipp property. * @@ -262,6 +268,8 @@ enum drm_exynos_ipp_cmd { * @ipp_id: id of ipp driver. * @prop_id: id of property. * @refresh_rate: refresh rate. + * @range: dynamic range for csc. + * @pad: just padding to be 64-bit aligned. */ struct drm_exynos_ipp_property { struct drm_exynos_ipp_config config[EXYNOS_DRM_OPS_MAX]; @@ -269,6 +277,8 @@ struct drm_exynos_ipp_property { __u32 ipp_id; __u32 prop_id; __u32 refresh_rate; + __u32 range; + __u32 pad; }; enum drm_exynos_ipp_buf_type { |