From patchwork Wed Mar 2 21:18:19 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carl Vanderlip X-Patchwork-Id: 604111 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p22LJCC9028643 for ; Wed, 2 Mar 2011 21:19:12 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757613Ab1CBVS2 (ORCPT ); Wed, 2 Mar 2011 16:18:28 -0500 Received: from wolverine02.qualcomm.com ([199.106.114.251]:20108 "EHLO wolverine02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757598Ab1CBVS0 (ORCPT ); Wed, 2 Mar 2011 16:18:26 -0500 X-IronPort-AV: E=McAfee;i="5400,1158,6273"; a="77438423" Received: from ironmsg03-r.qualcomm.com ([172.30.46.17]) by wolverine02.qualcomm.com with ESMTP; 02 Mar 2011 13:18:26 -0800 X-IronPort-AV: E=Sophos;i="4.62,253,1297065600"; d="scan'208";a="56219555" Received: from carlv-linux.qualcomm.com ([10.52.52.151]) by Ironmsg03-R.qualcomm.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 02 Mar 2011 13:18:26 -0800 Received: from carlv-linux.qualcomm.com (localhost [127.0.0.1]) by carlv-linux.qualcomm.com (8.14.2/8.14.2/1.0) with ESMTP id p22LIQ7C011739; Wed, 2 Mar 2011 13:18:26 -0800 Received: (from carlv@localhost) by carlv-linux.qualcomm.com (8.14.2/8.12.1/Submit) id p22LIQZE011738; Wed, 2 Mar 2011 13:18:26 -0800 From: Carl Vanderlip To: David Brown , Daniel Walker , Bryan Huntsman Cc: Dima Zavin , linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Carl Vanderlip , linux-fbdev@vger.kernel.org (open list:FRAMEBUFFER LAYER) Subject: [PATCH 4/4] [ARM] msm: mdp: Set the correct pack pattern for XRGB/ARGB Date: Wed, 2 Mar 2011 13:18:19 -0800 Message-Id: <1299100699-11705-1-git-send-email-carlv@codeaurora.org> X-Mailer: git-send-email 1.7.3.3 In-Reply-To: <1299100542-11120-1-git-send-email-carlv@codeaurora.org> References: <1299100542-11120-1-git-send-email-carlv@codeaurora.org> To: David Brown , Daniel Walker , Bryan Huntsman Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Wed, 02 Mar 2011 21:19:12 +0000 (UTC) diff --git a/drivers/video/msm/mdp_hw.h b/drivers/video/msm/mdp_hw.h index 9e1e92e..d804774 100644 --- a/drivers/video/msm/mdp_hw.h +++ b/drivers/video/msm/mdp_hw.h @@ -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)