]> git.pld-linux.org Git - packages/kernel.git/blobdiff - kernel-fbcon-margins.patch
- 3.16.2
[packages/kernel.git] / kernel-fbcon-margins.patch
index b02536a7bd8b2b62a6487484bd7220031baca570..fd77379fcdae1c3962d2dac70ab4f26da685ea2f 100644 (file)
@@ -8,21 +8,21 @@ This patch changes margin colour to black (or colour 0 in palette modes).
 
        -- Jakub Bogusz <qboosh@pld-linux.org>
 
---- linux-2.6.0-test2/drivers/video/console/fbcon.c.orig       2003-07-14 05:36:32.000000000 +0200
-+++ linux-2.6.0-test2/drivers/video/console/fbcon.c    2003-07-31 00:53:26.000000000 +0200
-@@ -518,7 +518,6 @@
void accel_clear_margins(struct vc_data *vc, struct fb_info *info,
-                               int bottom_only)
+--- linux-2.6.9/drivers/video/console/bitblit.c.orig   2004-10-20 18:13:32.000000000 +0200
++++ linux-2.6.9/drivers/video/console/bitblit.c        2004-10-20 18:22:35.153056112 +0200
+@@ -206,7 +206,6 @@
static void bit_clear_margins(struct vc_data *vc, struct fb_info *info,
+                             int bottom_only)
  {
 -      int bgshift = (vc->vc_hi_font_mask) ? 13 : 12;
        unsigned int cw = vc->vc_font.width;
        unsigned int ch = vc->vc_font.height;
        unsigned int rw = info->var.xres - (vc->vc_cols*cw);
-@@ -527,7 +526,7 @@
+@@ -215,7 +214,7 @@
        unsigned int bs = info->var.yres - bh;
        struct fb_fillrect region;
  
--      region.color = attr_bgcol_ec(bgshift, vc);
+-      region.color = attr_bgcol_ec(bgshift, vc, info);
 +      region.color = 0;
        region.rop = ROP_COPY;
  
This page took 0.027824 seconds and 4 git commands to generate.