atom feed2 messages in org.freebsd.freebsd-i386i386/75251: Beginnings of an ATI AGP ...
FromSent OnAttachments
Eric AnholtDec 18, 2004 10:40 pm 
Eric AnholtDec 18, 2004 10:41 pm 
Subject:i386/75251: Beginnings of an ATI AGP driver.
From:Eric Anholt (anh@FreeBSD.org)
Date:Dec 18, 2004 10:40:04 pm
List:org.freebsd.freebsd-i386

Number: 75251 Category: i386 Synopsis: Beginnings of an ATI AGP driver. Confidential: no Severity: non-critical Priority: low Responsible: freebsd-i386 State: open Quarter: Keywords: Date-Required: Class: change-request Submitter-Id: current-users Arrival-Date: Sun Dec 19 06:40:23 GMT 2004 Closed-Date: Last-Modified: Originator: Eric Anholt Release: FreeBSD 5.3-STABLE amd64 Organization: Environment:

System: FreeBSD leguin.anholt.net 5.3-STABLE FreeBSD 5.3-STABLE #0: Tue Nov 2
18:17:11 PST 2004 anh@leguin.anholt.net:/usr/obj/usr/src/current/sys/MYKERNEL
amd64

Description:

An AGP driver is required to use the 3d features of ATI's IGP graphics chipsets. Attached is a first attempt at one, written by reading the linux driver and reimplementing. I'm sending a PR so that this code doesn't get lost, and someone interested in the issue could pick it up. (I don't have the hardware, myself)

How-To-Repeat:

cd /usr/src/sys/pci && patch -p0 < agp_ati.diff

Fix:

+/* + * ATI IGP registers + */ +#define ATI_GART_MMADDR 0x14 +#define ATI_RS100_APSIZE 0xac +#define ATI_RS100_IG_AGPMODE 0xb0 +#define ATI_RS300_APSIZE 0xf8 +#define ATI_RS300_IG_AGPMODE 0xfc +#define ATI_GART_FEATURE_ID 0x00 +#define ATI_GART_BASE 0x04 +#define ATI_GART_CACHE_CNTRL 0x0c + #endif /* !_PCI_AGPREG_H_ */ --- ati-agp.diff ends here ---

Release-Note: Audit-Trail: Unformatted: