* Re: XServer for controlfb (fix)
[not found] <Pine.LNX.3.96LJ1.1b7.990430114242.412A-100000@selq119.unl.edu>
@ 1999-05-05 10:55 ` Benjamin Herrenschmidt
0 siblings, 0 replies; only message in thread
From: Benjamin Herrenschmidt @ 1999-05-05 10:55 UTC (permalink / raw)
To: Takashi Oe, linuxppc-dev, Geert.Uytterhoeven; +Cc: linuxppc-user
This patch seems to fix the problem with controlfb and x servers when
vram is in bank2 only (my 8500 video doesn't work at all, even under
MacOS, when I put the vram in bank 1):
--- linux.orig/drivers/video/controlfb.c Mon Feb 8 14:29:33 1999
+++ linux.mol/drivers/video/controlfb.c Wed May 5 12:45:05 1999
@@ -720,9 +720,11 @@
p->total_vram = (bank1 + bank2) * 0x200000;
/* If we don't have bank 1 installed, we hope we have bank 2 :-) */
p->control_use_bank2 = !bank1;
- if (p->control_use_bank2)
+ if (p->control_use_bank2) {
p->frame_buffer += 0x600000;
-
+ p->frame_buffer_phys += 0x600000;
+ }
+
init_control(p);
}
--
Perso. e-mail: <mailto:bh40@calva.net>
Work e-mail: <mailto:benh@mipsys.com>
BenH. Web : <http://calvaweb.calvacom.fr/bh40/>
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1999-05-05 10:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <Pine.LNX.3.96LJ1.1b7.990430114242.412A-100000@selq119.unl.edu>
1999-05-05 10:55 ` XServer for controlfb (fix) Benjamin Herrenschmidt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).