diff options
| author | Shivaraj Shetty <shivaraj@codeaurora.org> | 2013-11-20 23:35:15 +0530 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:23:39 -0700 |
| commit | e7be929aba5fb2bff7928f2805bdcccd2b0915fd (patch) | |
| tree | 3a4ef1b214bf90bba31a9a74e73a89f415ba5420 /drivers/video/fbdev | |
| parent | 1ce4f4c6cff4c036cdb99e5c0bdce7534cabfbfa (diff) | |
mdss: Correct the solid fill color swap for mdp3
There was a color swap happening on solidfill by a color.
This patch makes sure right color is filled.
Change-Id: I7f0a76d2b345414c51e332ad6dee7ed24486c725
Signed-off-by: Shivaraj Shetty <shivaraj@codeaurora.org>
Diffstat (limited to 'drivers/video/fbdev')
| -rw-r--r-- | drivers/video/fbdev/msm/mdp3_ppp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/fbdev/msm/mdp3_ppp.c b/drivers/video/fbdev/msm/mdp3_ppp.c index c8d4cd1f4c58..8a5fdb64aae2 100644 --- a/drivers/video/fbdev/msm/mdp3_ppp.c +++ b/drivers/video/fbdev/msm/mdp3_ppp.c @@ -524,8 +524,8 @@ static void mdp3_ppp_process_req(struct ppp_blit_op *blit_op, if (blit_op->dst.color_fmt == MDP_RGBA_8888) blit_op->dst.color_fmt = MDP_RGBX_8888; blit_op->solid_fill_color = (req->const_color.g & 0xFF)| - (req->const_color.b & 0xFF) << 8 | - (req->const_color.r & 0xFF) << 16 | + (req->const_color.r & 0xFF) << 8 | + (req->const_color.b & 0xFF) << 16 | (req->const_color.alpha & 0xFF) << 24; } else { blit_op->solid_fill = false; |
