Subject: enabling AGP on amd64?
To: None <firstname.lastname@example.org>
From: Blair Sadewitz <email@example.com>
Date: 12/01/2006 13:49:09
Would it be ok if agp_machdep.c was moved to arch/x86/x86, and the
relevant AGP code was added to amd64/pchb.c, add the relevant bits to
files.amd64, etc? I have an intel 945G that needs the GART to
function properly--without it I don't have enough memory to play
video, etc in X.
Also, I have three specific problems with using AGP on amd64:
1) If I run 80x50 text mode, when the X server exits, 80x25 mode is
restored, cutting off half the console.
2) Text scrolling in xterms gets garbled.
3) The ARGB cursor is NOT being allocated (white-square cursor
syndrome), or there is not something proper about the way this is
handled. I did something to fix it a while ago, but lost the diffs on
my LFS filesystem by accident when I went to convert it back to FFS.
I was basically incorporating changes as best I could (read: not very
well) from the FreeBSD and OpenBSD source.
Aperture size detection on the 915G does not work as the specs outline
via MSAC. You either have to read PCI BAR(2) as linux does or do what
FreeBSD does. See the FreeBSD CVS repository for information. In
addition, the TAILQ_FOREACH loop in agp_unbind_memory() (I think) is
indeed superfluous and according to the FreeBSD people can cause
display corruption for some devices.
But what I have no clue about is whether or not everything with our
AGP subsystem is amd64-friendly.
I would greatly appreciate any help with this.
Support WFMU-FM: free-form radio for the masses!
91.1 FM Jersey City, NJ
90.1 FM Mt. Hope, NY
"The Reggae Schoolroom":