summaryrefslogtreecommitdiffstats
path: root/sys/dev/agp
Commit message (Collapse)AuthorAgeFilesLines
* Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.alfred2003-01-212-2/+2
| | | | Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
* Add support for the Intel 82820 UP-only AGP bridge.anholt2003-01-111-0/+4
| | | | | | PR: 41466 Submitted by: NIIMI Satoshi <sa2c@sa2c.net> MFC after: 1 week
* - Hold the page queues lock around vm_page_wakeup().alc2002-12-231-0/+4
|
* Remove a bunch of #include "opt_pci.h".mux2002-11-137-7/+0
|
* Fix previous commit: Don't cast integral types to pointers tomarcel2002-10-151-2/+2
| | | | | | print them with %p. Cast to unsigned long and print with %#lx. Discussed with: bde
* Make this compile on 64-bit architectures (e.g. ia64) by not assumingmarcel2002-10-121-2/+2
| | | | | pointers (but more precisely vm_offset_t) can be printed with %x. Use %p instead and cast the argument to caddr_t.
* Correct an indentation.anholt2002-10-031-1/+1
| | | | Noticed by: phk
* Fix i810 after i830 commit.anholt2002-09-151-0/+2
| | | | Submitted by: David Dawes <dawes@XFree86.Org>
* Fix an i830/i845 test that shouldn't get hit in normal use and remove a printf.anholt2002-09-131-6/+4
| | | | Submitted by: David Dawes <dawes@XFree86.Org>
* Add AGP support for Intel i830M and i845 thanks to patches from moto kawasakianholt2002-09-122-49/+216
| | | | <kawasaki@mbg.sphere.ne.jp> and David Dawes <dawes@XFree86.org>.
* Include <sys/lockmgr.h> for old lock interfaces instead of depending onbde2002-08-277-0/+7
| | | | namespace pollution in <sys/lock.h>.
* o Retire vm_page_zero_fill() and vm_page_zero_fill_area(). Ever sincealc2002-08-252-2/+2
| | | | | | pmap_zero_page() and pmap_zero_page_area() were modified to accept a struct vm_page * instead of a physical address, vm_page_zero_fill() and vm_page_zero_fill_area() have served no purpose.
* o Use the VM_ALLOC_WIRED flag instead of calling vm_page_wire().alc2002-08-102-6/+3
|
* o If the page returned by vm_page_grab(VM_ALLOC_ZERO) isn't prezeroed,alc2002-07-212-0/+4
| | | | | | zero it. Reviewed by: dfr, peter
* - Use more correct values to initialize the AGP controller during setup.jhb2002-07-171-6/+21
| | | | | | The value we use is still questionable for 440BX chipsets. - When flushing the TLB just toggle the bit in question instead of writing a magic value that could trash other unrelated bits.
* o Lock page queue accesses by vm_page_wire().alc2002-07-142-0/+4
|
* o Complete the locking of page queue accesses by vm_page_unwire().alc2002-07-132-0/+6
| | | | | | o Assert that the page queues lock is held in vm_page_unwire(). o Make vm_page_lock_queues() and vm_page_unlock_queues() visible to kernel loadable modules.
* Fix some nits in AMD AGP driver. Remove excess malloc and move a bzerocokane2002-04-151-10/+3
| | | | | | | out of the way, so it won't cause trouble. Submitted by: Frank Mayher <frank@exit.com> MFC after: 1 week
* Correctly identify the Intel 82830 AGP bridge.benno2002-02-051-0/+3
|
* Allow retrieval of the virtual address of the AGP aperturemdodd2001-12-192-0/+2
| | | | | | using agp_get_info(). MFC after: 1 week
* Update to C99, s/__FUNCTION__/__func__/,obrien2001-12-101-4/+4
| | | | also don't use ANSI string concatenation.
* This patch will fix the lockups associated with AMD 751,761,762 based AGPcokane2001-12-072-7/+52
| | | | | | | | | controllers. There still seems to be some issues with the DRI copying code for some adapters, at least it doesn't hang the system now. Input would be appreciated. PR: 32301 Obtained from: Eric Anhlot <eanholt@gladstone.uoregon.edu>, Joe <joeo@nks.net>
* Don't automatically unbind/deallocate memory when releasing.ru2001-11-271-10/+6
| | | | | | | This fixes the VT switching problem with the i810 X driver. Explained by: David Dawes <dawes@XFree86.Org> Reviewed by: dfr
* Add support for Intel's i820/i840/i845/i850/i860 chipset.kuriyama2001-11-082-11/+106
| | | | | | Submitted by: nork@cityfujisawa.ne.jp (Norikatsu Shigemura) PR: kern/31559, kern/31825 MFC after: 1 week
* Add probe line for the AMD 761 northbridge chip. At least it detects now,cokane2001-09-201-0/+2
| | | | | | | | | | seems to set up memory spaces correctly. This change actually did work for me using -STABLE, XFree86 4.0.3 ~ some snapshot of DRI awhile back. I sent mail to dfr to no avail, perhaps someone else would like to test it with DRI. Anyway, people have been nagging me about this change for awhile, so here's the commit.
* KSE Milestone 2julian2001-09-121-9/+9
| | | | | | | | | | | | | | Note ALL MODULES MUST BE RECOMPILED make the kernel aware that there are smaller units of scheduling than the process. (but only allow one thread per process at this time). This is functionally equivalent to teh previousl -current except that there is a thread associated with each process. Sorry john! (your next MFC will be a doosie!) Reviewed by: peter@freebsd.org, dillon@freebsd.org X-MFC after: ha ha ha ha
* Recognise VIA Apollo KT133A bridge.dfr2001-08-301-0/+2
| | | | | | PR: 30061 Submitted by: John Merryweather Cooper <jmcoopr@webmail.bmi.net> MFC after: 1 week
* Make these compile again by adding proc.h include for GIANT_REQUIREDjhb2001-07-056-0/+6
| | | | that is in included vm headers.
* Introduce a global lock for the vm subsystem (vm_mtx).alfred2001-05-197-0/+7
| | | | | | | | | | | | | | | | | | | vm_mtx does not recurse and is required for most low level vm operations. faults can not be taken without holding Giant. Memory subsystems can now call the base page allocators safely. Almost all atomic ops were removed as they are covered under the vm mutex. Alpha and ia64 now need to catch up to i386's trap handlers. FFS and NFS have been tested, other filesystems will need minor changes (grabbing the vm lock when twiddling page properties). Reviewed (partially) by: jake, jhb
* Send the remains (such as I have located) of "block major numbers" tophk2001-03-261-1/+0
| | | | the bit-bucket.
* un-staticize M_AGP so that it can be used in agp*.cassar2000-12-191-1/+1
|
* Add a missing include of <sys/proc.h>.jhb2000-12-121-0/+1
|
* Staticize some malloc M_ instances.phk2000-12-081-1/+1
|
* Remove unneeded #include <sys/proc.h> lines.phk2000-10-291-1/+0
|
* Add i815 host to PCI bridge IDache2000-10-201-0/+3
|
* This didn't compile. Fix typo: s/rmang_get_start/rman_get_start/peter2000-10-181-1/+1
|
* Use appropriate resource management accessors instead of directlymdodd2000-10-181-2/+1
| | | | | | referencing structure members. Use rman_get_size() instead of end - start + 1.
* Added support for i815.ru2000-10-161-2/+16
|
* Remove unneeded #include <machine/clock.h>phk2000-10-151-1/+0
|
* Convert lockmgr locks from using simple locks to using mutexes.jasone2000-10-041-0/+1
| | | | | | Add lockdestroy() and appropriate invocations, which corresponds to lockinit() and must be called to clean up after a lockmgr lock is no longer needed.
* Add support for Intel's i810 chipset with integrated graphics. Andfr2000-07-124-4/+518
| | | | | | | associated patch to XFree86 allows the X server to work with this chipset on FreeBSD. Additional work will include porting the Linux 3D driver. Submitted by: Ruslan Ermilov <ru@FreeBSD.org>
* Release resources properly in detach.dfr2000-06-101-0/+9
|
* Fix the AMD 751 AGP minidriver so that it works with my test code.dfr2000-06-104-8/+112
|
* A driver for programming the AGP hardware. This is only very lightlydfr2000-06-0910-0/+2576
tested on Intel BX chipsets only. The other agp minidrivers are totally untested. The programming api is a subset of the Linux api and is only intended to be enough for the X server to use. There is also an in-kernel api for the use of other kernel modules such as the 3D DRI.
OpenPOWER on IntegriCloud