summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPadmanabhan Komanduru <pkomandu@codeaurora.org>2014-04-25 17:16:30 +0530
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:29:27 -0700
commitd3d3c7eab8d848b5717aa933da39e1e1e1ba7301 (patch)
tree6c8b2f71fd79f1425634f1f6d37b67129c1be91e
parent8bb801c7f1d73bfec2705443ad319745391a3f22 (diff)
msm: mdss: fix the pack alignment of MDP output for RGB666 format
Currently for RGB666 format, the MDP output is set as LSB aligned and banding artifacts are observed due to this. Set the MDP output to be MSB aligned to avoid these artifacts and for the display to show up fine with RGB666 format. Change-Id: Id8b7bf03218dd0ea70ada34912afd092e239b89f Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
-rw-r--r--drivers/video/fbdev/msm/mdss_mdp_hwio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/msm/mdss_mdp_hwio.h b/drivers/video/fbdev/msm/mdss_mdp_hwio.h
index 3deeeb8d62ae..527f0ef3082d 100644
--- a/drivers/video/fbdev/msm/mdss_mdp_hwio.h
+++ b/drivers/video/fbdev/msm/mdss_mdp_hwio.h
@@ -532,7 +532,7 @@ enum mdss_mpd_intf_index {
#define MDSS_MDP_REG_INTF_FRAME_COUNT 0x0AC
#define MDSS_MDP_REG_INTF_LINE_COUNT 0x0B0
#define MDSS_MDP_PANEL_FORMAT_RGB888 0x213F
-#define MDSS_MDP_PANEL_FORMAT_RGB666 0x212A
+#define MDSS_MDP_PANEL_FORMAT_RGB666 0x21AA
enum mdss_mdp_pingpong_index {
MDSS_MDP_PINGPONG0,