msm: mdp: Set the correct pack pattern for XRGB/ARGB
authorDima Zavin <dima@android.com>
Wed, 2 Mar 2011 21:18:19 +0000 (13:18 -0800)
committerDavid Brown <davidb@codeaurora.org>
Tue, 8 Mar 2011 19:54:46 +0000 (11:54 -0800)
Signed-off-by: Dima Zavin <dima@android.com>
Signed-off-by: Carl Vanderlip <carlv@codeaurora.org>
Signed-off-by: David Brown <davidb@codeaurora.org>
drivers/video/msm/mdp_hw.h

index 9e1e92ef3edbe5fc93aaec49d82bf5a93fd8a60c..d80477415caaa3bdd401814c511a3359bb98bd97 100644 (file)
@@ -489,7 +489,7 @@ int mdp_ppp_blit(const struct mdp_info *mdp, struct mdp_blit_req *req,
        MDP_GET_PACK_PATTERN(0, CLR_R, CLR_G, CLR_B, 8)
 #define PPP_PACK_PATTERN_MDP_RGB_888 PPP_PACK_PATTERN_MDP_RGB_565
 #define PPP_PACK_PATTERN_MDP_XRGB_8888 \
-       MDP_GET_PACK_PATTERN(CLR_ALPHA, CLR_R, CLR_G, CLR_B, 8)
+       MDP_GET_PACK_PATTERN(CLR_B, CLR_G, CLR_R, CLR_ALPHA, 8)
 #define PPP_PACK_PATTERN_MDP_ARGB_8888 PPP_PACK_PATTERN_MDP_XRGB_8888
 #define PPP_PACK_PATTERN_MDP_RGBA_8888 \
        MDP_GET_PACK_PATTERN(CLR_ALPHA, CLR_B, CLR_G, CLR_R, 8)