summaryrefslogtreecommitdiffstats
path: root/include/video/omapdss.h
diff options
context:
space:
mode:
authorTomi Valkeinen2011-06-21 08:34:30 +0200
committerTomi Valkeinen2011-07-01 11:07:13 +0200
commit3c07cae2cccc4e40ff66521701a3c8eeda8726e1 (patch)
treec9f1b652db85bdbfbb435355009742200ca3753d /include/video/omapdss.h
parentOMAP: DSS: Minor cleanup in ovl and mgr cache structs (diff)
downloadkernel-qcow2-linux-3c07cae2cccc4e40ff66521701a3c8eeda8726e1.tar.gz
kernel-qcow2-linux-3c07cae2cccc4e40ff66521701a3c8eeda8726e1.tar.xz
kernel-qcow2-linux-3c07cae2cccc4e40ff66521701a3c8eeda8726e1.zip
OMAP: DSS2: Add Color Phase Rotation support
Add Color Phase Rotation (CPR) support and sysfs files to enable CPR and to set the CPR coefficient matrix. CPR is enabled via manager?/cpr_enable file, and the coefficient matrix is set via manager?/cpr_coef file. The values in cpr_coef are in the following order: RR RG RB GR GG GB BR BG BB Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'include/video/omapdss.h')
-rw-r--r--include/video/omapdss.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/video/omapdss.h b/include/video/omapdss.h
index 388577d10ab8..c804bda059d5 100644
--- a/include/video/omapdss.h
+++ b/include/video/omapdss.h
@@ -292,6 +292,12 @@ extern const struct omap_video_timings omap_dss_pal_timings;
extern const struct omap_video_timings omap_dss_ntsc_timings;
#endif
+struct omap_dss_cpr_coefs {
+ s16 rr, rg, rb;
+ s16 gr, gg, gb;
+ s16 br, bg, bb;
+};
+
struct omap_overlay_info {
bool enabled;
@@ -351,6 +357,9 @@ struct omap_overlay_manager_info {
bool trans_enabled;
bool alpha_enabled;
+
+ bool cpr_enable;
+ struct omap_dss_cpr_coefs cpr_coefs;
};
struct omap_overlay_manager {