Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
build
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
lf
build
Commits
23ebcf42
Commit
23ebcf42
authored
11 years ago
by
Linux Build Service Account
Committed by
Gerrit - the friendly Code Review server
11 years ago
Browse files
Options
Downloads
Plain Diff
Merge "msm_fb: Don't split solid color rectangles"
parents
225b0f3e
88f0601c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
patch/ics_strawberry/kernel/0001-msm_fb-Don-t-split-solid-color-rectangles.patch
+42
-0
42 additions, 0 deletions
...rnel/0001-msm_fb-Don-t-split-solid-color-rectangles.patch
with
42 additions
and
0 deletions
patch/ics_strawberry/kernel/0001-msm_fb-Don-t-split-solid-color-rectangles.patch
0 → 100644
+
42
−
0
View file @
23ebcf42
From 47d26174f4bdda1279141aced5f9c83f347e716a Mon Sep 17 00:00:00 2001
From: Diego Wilson <dwilson@codeaurora.org>
Date: Thu, 7 Nov 2013 10:00:34 -0800
Subject: [PATCH] msm_fb: Don't split solid color rectangles
Blit rectangles are sometimes split into two or more.
This messes up solid color blitting. Furthermore,
we never need to split solid color rectangles anyway.
CRs-Fixed: 570638
Change-Id: I495074da65ecac54da7134a39eb2ae7e78a856ab
Signed-off-by: Diego Wilson <dwilson@codeaurora.org>
---
drivers/video/msm/msm_fb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/video/msm/msm_fb.c b/drivers/video/msm/msm_fb.c
index 2b626a0..64f3fcf 100644
--- a/drivers/video/msm/msm_fb.c
+++ b/drivers/video/msm/msm_fb.c
@@ -2331,17 +2331,17 @@
int mdp_blit(struct fb_info *info, struct mdp_blit_req *req)
ret = mdp_get_bytes_per_pixel(req->dst.format,
(struct msm_fb_data_type *)info->par);
if (ret <= 0) {
printk(KERN_ERR "mdp_ppp: incorrect bpp!\n");
return -EINVAL;
}
is_bpp_4 = (ret == 4) ? 1 : 0;
- if ((is_bpp_4 && (remainder == 6 || remainder == 14))) {
+ if (is_bpp_4 && (remainder == 6 || remainder == 14) && !(req->flags & CONST_COLOR)) {
/* make new request as provide by user */
splitreq = *req;
/* break dest roi at width*/
d_y_0 = d_y_1 = req->dst_rect.y;
d_h_0 = d_h_1 = req->dst_rect.h;
d_x_0 = req->dst_rect.x;
--
1.8.2.1
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment