From d3d3c7eab8d848b5717aa933da39e1e1e1ba7301 Mon Sep 17 00:00:00 2001 From: Padmanabhan Komanduru Date: Fri, 25 Apr 2014 17:16:30 +0530 Subject: 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 --- drivers/video/fbdev/msm/mdss_mdp_hwio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- cgit v1.2.3