projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drm/nouveau/fbcon: fix font width not divisible by 8
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
gpu
/
drm
/
nouveau
/
nv50_fbcon.c
diff --git
a/drivers/gpu/drm/nouveau/nv50_fbcon.c
b/drivers/gpu/drm/nouveau/nv50_fbcon.c
index a4e259a00430a9c7e5da7044b90434cef41c703c..c8e096533f60e72c4c1a32c138aa3cca0edf80ec 100644
(file)
--- a/
drivers/gpu/drm/nouveau/nv50_fbcon.c
+++ b/
drivers/gpu/drm/nouveau/nv50_fbcon.c
@@
-125,7
+125,7
@@
nv50_fbcon_imageblit(struct fb_info *info, const struct fb_image *image)
OUT_RING(chan, 0);
OUT_RING(chan, image->dy);
- dwords = ALIGN(
image->width
* image->height, 32) >> 5;
+ dwords = ALIGN(
ALIGN(image->width, 8)
* image->height, 32) >> 5;
while (dwords) {
int push = dwords > 2047 ? 2047 : dwords;