Re: [REPOST] The Linux Progress Patch for 2.6 Kernels

Jan Dittmer
2003-10-22T10:36:15Z

Prasad wrote:
> The patch was made against 2.6.0-Test5 but should
> perfectly work for the recent ones too.

I need the following patch w/ test8-mm1 to get it compile. Otherwise it
works quite well (i810fb). The screen is a bit distorted for the first
few messages after elpp kicks in and the bottom line, where the messages
appear, isn't cleared to the end. Also the background right of the eye
is changing from black to red in the middle of the boot progress for no
apparent reason (I've no supporting bootscripts).

Thanks,

Jan

--- drivers/video/console/elpp.c.org 2003-10-22 12:13:51.000000000 +0200
+++ drivers/video/console/elpp.c 2003-10-22 12:17:20.000000000 +0200
@@ -303,11 +303,11 @@
size = pitch * font->height;
size += buf_align;
size &= ~buf_align;
- dst = info->pixmap.addr + fb_get_buffer_offset(info, size);
+ dst = fb_get_buffer_offset(info, &info->pixmap, size);
image.data = dst;
src = font->data + (ch & charmask) * font->height * width;

- move_buf_aligned(info, dst, src, pitch, width, image.height);
+ move_buf_aligned(info, &info->pixmap, dst, pitch, src, width,
image.height);
info->fbops->fb_imageblit(info, &image);
}