aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnnamalai Lakshmanan <annamalai.lakshmanan@linaro.org>2012-04-27 10:17:37 +0530
committerTushar Behera <tushar.behera@linaro.org>2012-05-17 10:38:53 +0530
commitf8f51e94c9af02d3455d289422027c10a60efb8b (patch)
tree2ffa4e02f62558bbe832e490f7f77639644a0211
parent766d8cbb83c10c250f8850ec1bd5bece6e337151 (diff)
HACK: media: s5p-tv: Temporary HDMI color hacktracking-samslt-hdmi-3.4-2012.05-1tracking-samslt-hdmi-3.4-2012.05-0
Without this change, the HDMI display in Android had a green tint. Yet to find the exact reason for the same. Change-Id: I2033a1fffd204d9ee91026bc9f548afadef17b0d Signed-off-by: Annamalai Lakshmanan <annamalai.lakshmanan@linaro.org>
-rw-r--r--drivers/media/video/s5p-tv/mixer_reg.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/media/video/s5p-tv/mixer_reg.c b/drivers/media/video/s5p-tv/mixer_reg.c
index 4800a3cbb297..4cef84aeecbb 100644
--- a/drivers/media/video/s5p-tv/mixer_reg.c
+++ b/drivers/media/video/s5p-tv/mixer_reg.c
@@ -115,7 +115,13 @@ void mxr_reg_reset(struct mxr_device *mdev)
/* setting graphical layers */
val = MXR_GRP_CFG_COLOR_KEY_DISABLE; /* no blank key */
+#if 0
+ /*
+ * Without this change, the HDMI display in Android had a green tint.
+ * Yet to find the exact reason for the same.
+ */
val |= MXR_GRP_CFG_BLEND_PRE_MUL; /* premul mode */
+#endif
val |= MXR_GRP_CFG_ALPHA_VAL(0xff); /* non-transparent alpha */
/* the same configuration for both layers */