summaryrefslogtreecommitdiff
path: root/include/video
diff options
context:
space:
mode:
authorKevin Huang <kevinh@nvidia.com>2012-11-11 16:43:38 -0800
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 01:27:45 -0700
commit57b21026f1f41c96c1be64befab746aadcc97c91 (patch)
tree6b652e48cf1f9594a63dc4a594161d7aaae62650 /include/video
parentb650932d4d24fc74b9b1424beb6ddf08bdfb445c (diff)
video: tegra: dc: add ioctl to expose CMU.
Bug 1169109 Change-Id: I98ee2794724299113c7aab3a60703f2927c9ea8d Signed-off-by: Kevin Huang <kevinh@nvidia.com> Reviewed-on: http://git-master/r/162990 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
Diffstat (limited to 'include/video')
-rw-r--r--include/video/tegra_dc_ext.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/video/tegra_dc_ext.h b/include/video/tegra_dc_ext.h
index 5165cf552e49..52c9f21a5372 100644
--- a/include/video/tegra_dc_ext.h
+++ b/include/video/tegra_dc_ext.h
@@ -174,6 +174,13 @@ struct tegra_dc_ext_csc {
__u16 kvb; /* s.2.8 */
};
+struct tegra_dc_ext_cmu {
+ __u16 cmu_enable;
+ __u16 csc[9];
+ __u16 lut1[256];
+ __u16 lut2[960];
+};
+
/*
* RGB Lookup table
*
@@ -259,6 +266,9 @@ struct tegra_dc_ext_feature {
#define TEGRA_DC_EXT_CURSOR_CLIP \
_IOW('D', 0x0C, __s32)
+#define TEGRA_DC_EXT_SET_CMU \
+ _IOW('D', 0x0D, struct tegra_dc_ext_cmu)
+
enum tegra_dc_ext_control_output_type {
TEGRA_DC_EXT_DSI,
TEGRA_DC_EXT_LVDS,