projects
/
profile
/
ivi
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0392bad
)
line_length calculation was incorrect.. I now can get fbcon to run
author
David Airlie
<airlied@asimov.stargames.com.au>
Wed, 11 Apr 2007 07:35:00 +0000
(17:35 +1000)
committer
David Airlie
<airlied@asimov.stargames.com.au>
Wed, 11 Apr 2007 07:35:00 +0000
(17:35 +1000)
linux-core/drm_fb.c
patch
|
blob
|
history
diff --git
a/linux-core/drm_fb.c
b/linux-core/drm_fb.c
index
30b1418
..
1a0fb79
100644
(file)
--- a/
linux-core/drm_fb.c
+++ b/
linux-core/drm_fb.c
@@
-121,7
+121,7
@@
int drmfb_probe(struct drm_device *dev, struct drm_framebuffer *fb)
info->fix.type_aux = 0;
info->fix.mmio_start = 0;
info->fix.mmio_len = 0;
- info->fix.line_length = fb->pitch;
+ info->fix.line_length = fb->pitch
* ((fb->bits_per_pixel + 1) / 8)
;
info->flags = FBINFO_DEFAULT;