Warner Losh
4fbd232c86
Prefer new location of pci include files (which have only been in the
...
tree for two or more years now), except in a few places where there's
code to be compatible with older versions of FreeBSD.
2003-08-22 05:54:52 +00:00
Eric Anholt
7a0f4bee0d
Update DRM from DRI CVS as of today. Notable changes include Radeon
...
suspend/resume support and Rage 128 pageflipping support (both of which require
XFree86 from CVS), along with miscellaneous cleanups.
2003-08-19 02:57:31 +00:00
Poul-Henning Kamp
5578b9263b
Do not define memset() to bzero(). We have a memset().
...
Found by: FlexeLint
2003-05-31 19:31:46 +00:00
Eric Anholt
d2c47a2151
Merge from DRI CVS: Disable MTRRs on FreeBSD-stable to work around hangs with
...
SMP machines. and use i386 asm for atomic_cmpset_int on -stable. This is in
preparation for MFCing the DRM.
2003-04-26 06:59:38 +00:00
Eric Anholt
42da33c444
Update the DRM to the latest from DRI CVS. Includes some bugfixes and removal
...
of the infrastructure for the gamma driver which was removed a while back.
The DRM_LINUX option is removed because the handler is now provided by the
linux compat code itself.
2003-04-25 01:18:47 +00:00
Eric Anholt
43e2d1e384
Update the DRM to latest from DRI CVS. This is approximately the version
...
included in XFree86 4.3, but includes some fixes. Notable changes include
Radeon 8500-9100 support, PCI Radeon/Rage 128 support, transform & lighting
support for Radeons, and vblank syncing support for r128, radeon, and mga.
The gamma driver was removed due to lack of any users.
2003-03-09 02:08:30 +00:00
Eric Anholt
4775259180
Remove drm_linux.h, move the two useful defines into drm_drv.h. Use fd locking
...
on -current. Actually copy in data from userspace to kernel in the
linux-compat ioctl path. Make sure ioctl sizes are as expected in the handler
functions.
Reviewed by: rwatson
2002-09-01 17:45:04 +00:00
Dag-Erling Smørgrav
20d3956e5d
Remove <sys/select.h> to unbreak the build. I'm not sure if this affects
...
the functionality of the drm module, but hopefully it will tide us over
until Eric can take a look at it.
2002-06-16 21:50:42 +00:00
Eric Anholt
4956c7034c
Warnings cleanup for gcc3. Also __FUNCTION__ -> __func__
...
Approved by: des
2002-05-31 23:19:50 +00:00
Bruce Evans
833863ff77
Include <sys/lockmgr.h> for definitions of deprecated locking interfaces --
...
don't depend on namespace pollution in other headers.
2002-05-06 23:34:13 +00:00
Eric Anholt
b1ade6ab46
More diff reduction: Shuffle around some header code as was done in
...
drmcommand-0-0-1-branch of DRI CVS, more return code cleanup, and remove some
gratuitous ifdefs.
Approved by: des
2002-04-29 18:18:42 +00:00
Eric Anholt
c9d942be3a
Diff reduction to my experimental code: clean up return code handling.
...
Approved by: des
2002-04-29 00:25:10 +00:00
Eric Anholt
4fc9623548
Add the code for the DRM, based on the code from the drm-kmod port.
...
This is not hooked up yet, that will come later.
Approved by: des
2002-04-27 20:47:57 +00:00