AGP support for newer Intel chips (9xx)

Thomas E. Spanjaard tgen at netphreax.net
Fri Mar 2 02:24:07 PST 2007


Kimura Fuyuki wrote:
Here's a patch to add an AGP GART support for newer Intel chips. I've tested 
it with i945G + modular-xorg + several media players.

http://www.hadaly.org/fuyuki/agp-i915.patch

Note that I'm new to DF kernel and the patch is mostly a blind merge from 
FreeBSD.

On FreeBSD i845G support seems to be  accidentally dropped at r1.37.
 I recovered it in the patch above.
On DragonFly PCI_MAP_FIXUP option is required for i915 variants because 
AGP_APBASE and AGP_I915_MMADR points the same address. (?)
Some rework would be needed to eliminate redundant allocations.

Known bug: panic on detach. I don't know why the function is working on 
FreeBSD. (maybe not?)
Our PCI code is rather stale, and is in no way in sync with the changes 
FreeBSD made to make it properly support power state changing and detaching.

Cheers,
--
        Thomas E. Spanjaard
        tgen at netphreax.net
Attachment:
signature.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00000.pgp
Type: application/octet-stream
Size: 186 bytes
Desc: "Description: OpenPGP digital signature"
URL: <http://lists.dragonflybsd.org/pipermail/submit/attachments/20070302/f546a56a/attachment-0019.obj>


More information about the Submit mailing list