History log of /freebsd-9.3-release/sys/dev/agp/agp_amd64.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 267654 19-Jun-2014 gjb

Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 225736 22-Sep-2011 kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by: re (implicit)


# 190169 20-Mar-2009 rnoland

vm_offset_t is unsigned and therefore can not be negative.
Avoid unnessecary compares.

Found with: Coverity Prevent(tm)
CID: 2362,4215,4214,4209,4208,2363,4211,4210,4213,4212

MFC after: 3 days


# 189578 09-Mar-2009 imp

Fix prototypes to be consistent.


# 187100 12-Jan-2009 jkim

Add support for AMD64 Family 10h processors.

PR: kern/128331
MFC after: 3 days


# 173573 12-Nov-2007 jhb

Move the agp(4) driver from sys/pci to sys/dev/agp. __FreeBSD_version was
bumped to 800004 to note the change though userland apps should not be
affected since they use <sys/agpio.h> rather than the headers in
sys/dev/agp.

Discussed with: anholt
Repocopy by: simon


# 173203 30-Oct-2007 jhb

Split agp_generic_detach() up into two routines: agp_free_cdev() destroys
/dev/agpgart and agp_free_res() frees resources like the BAR for the
aperture. Splitting this up lets chipset-specific detach routines
manipulate the aperture during their detach routines without panicing.

MFC after: 1 week
Reviewed by: anholt


# 163181 09-Oct-2006 jkim

Fix style(9) nits.


# 163180 09-Oct-2006 jkim

Fix 32-bit PTE in the GART table.

Noticed by: jmg


# 161518 21-Aug-2006 jkim

Use aperture base address from north bridge. Some BIOS does not encode
misc. control registers correctly and it is inconsistent with north bridge.
In fact, there are too many broken BIOS implementations out there and we
cannot fix every possible combination but at least it is consistent with
what we advertise with ioctl(2).


# 159075 30-May-2006 jkim

Move SiS 760 to where it belongs.

PR: 98094
Submitted by: Mike M < mmcgus at yahoo dot com >


# 153572 20-Dec-2005 jhb

Change the various AGP drivers that attach to the Host-PCI bridge device to
attach to the hostb driver instead. This means that agp can now be loaded
at runtime (in theory at least). Also, the drivers no longer have to
explicity call device_verbose() to cancel out any earlier calls to
device_quiet() by the hostb(4) driver (this shows a limitation in new-bus,
drivers really shouldn't be doing device_quiet() until they know they are
going to drive that device, i.e. in attach).


# 152435 14-Nov-2005 jkim

0xb1881106 seems to be an AGP bridge and some BIOSes incorrectly handle
the bridge. Therefore, we give the same treatment as we did for nForce3-250
and ULi chipsets. VIA AGPv3 code was copied from agp_via.c.


# 150645 27-Sep-2005 jkim

- Add a work-around for nForce3-250. Aperture base address encoded in misc.
control register and AGP bridge seems to be inconsistent with some BIOS.
Instead of relying on BIOS settings, we just take the initial aperture size
and encode them for both miscellaneous control register and AGP bridge.
Some idea was borrowed from agp_nvidia.c.

- Add preliminary ULi M1689 chipset support. The idea was taken from Linux
because hardware and documentation are unavailable. Not tested.

- Add more VIA chipset PCI IDs taken from Linux driver.

Approved by: anholt (mentor)
Tested by: Adam Gregoire <ebola at psychoholics dot org>
Ganael Laplanche <ganael.laplanche at martymac dot com>
K Wieland <kwieland at wustl dot edu>


# 144809 08-Apr-2005 obrien

Add nForce3-250.


# 144517 01-Apr-2005 obrien

nVidia AGP chipsets beyond nForce2 are AMD64-specific.
So move the AGP support to there.

Submitted by: Jung-uk Kim <jkim@niksun.com>


# 142398 24-Feb-2005 imp

Return BUS_PROBE_DEFAULT instead of 0.


# 141885 14-Feb-2005 anholt

Correct the SiS 755 PCI ID. Confirmed against Linux code.

PR: kern/76411
Submitted by: Jonathan Fosburgh, jonathan at fosburgh dot org
Obtained from: Jung-uk Kim, jkim at niksun.com


# 136133 05-Oct-2004 anholt

Add PCI ID for VIA K8T800Pro chipset. Tested with agptest and X with DRI
enabled, but not 3D.


# 134043 19-Aug-2004 obrien

Unconditionally support the AMD64 GART HW.


# 133852 16-Aug-2004 obrien

AMD64 on-CPU GART support.
This also applies to AMD64 HW running 'i386' OS.

Submitted by: Jung-uk Kim <jkim@niksun.com>
Integration by: obrien