lkml.org 
[lkml]   [2000]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH] fbdev fixes for mulithead
On Fri, 7 Jan 2000, Linus Torvalds wrote:
> On Thu, 6 Jan 2000, James A Simmons wrote:
> > This patch fixes some problems fbcon had with multihead.
>
> Your mailer corrupts white-space, and breaks long lines.
>
> Not applied.

A corrected version is below. Thanks for applying it!

--- native-2.3.38-pre1/drivers/video/fbcon.c Wed Dec 15 20:27:25 1999
+++ geert-2.3.38-pre1/drivers/video/fbcon.c Fri Jan 7 20:42:47 2000
@@ -311,6 +311,10 @@
fb_display[unit]._fontheightlog = fontheightlog;
fb_display[unit].userfont = userfont;
fb_display[unit].fb_info = newfb;
+ if (conp)
+ conp->vc_display_fg = &newfb->display_fg;
+ if (!newfb->display_fg)
+ newfb->display_fg = conp;
if (!newfb->changevar)
newfb->changevar = oldfb->changevar;
/* tell console var has changed */
@@ -1167,8 +1171,12 @@

static inline void fbcon_softback_note(struct vc_data *conp, int t, int count)
{
- unsigned short *p = (unsigned short *)
- (conp->vc_origin + t * conp->vc_size_row);
+ unsigned short *p;
+
+ if (conp->vc_num != fg_console)
+ return;
+ p = (unsigned short *)(conp->vc_origin + t * conp->vc_size_row);
+
while (count) {
scr_memcpyw((u16 *)softback_in, p, conp->vc_size_row);
count--;
Gr{oetje,eeting}s,
--
Geert Uytterhoeven -- Linux/{m68k~Amiga,PPC~CHRP} -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:1.128 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site