Jose Fonseca [Wed, 21 Aug 2002 14:09:28 +0000 (14:09 +0000)]
Change the linux kernel version condition in the i810 driver (according to
Alan Cox)
Eric Anholt [Wed, 21 Aug 2002 07:14:21 +0000 (07:14 +0000)]
Remove drm_linux.h, move the two useful defines into drm_drv.h (the only
place they're used). 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 ioctl handler functions.
Leif Delgass [Wed, 21 Aug 2002 01:14:43 +0000 (01:14 +0000)]
add missing include (for udelay), remove unused counter.
Michel Daenzer [Wed, 21 Aug 2002 00:09:32 +0000 (00:09 +0000)]
TRUE and FALSE don't seem to be defined everywhere...
Keith Whitwell [Mon, 12 Aug 2002 07:26:00 +0000 (07:26 +0000)]
zero-cliprect case patch from Jacek
Michel Daenzer [Sun, 11 Aug 2002 15:56:44 +0000 (15:56 +0000)]
test scratch register writeback before using it
Eric Anholt [Thu, 8 Aug 2002 21:23:46 +0000 (21:23 +0000)]
Try to open the /dev/dri/cardX device once, then only if it fails check the
device number and recreate it if necessary. Fixes xf86drm.c to allow
linux binaries to be used for emulation on FreeBSD.
Rik Faith [Tue, 6 Aug 2002 18:00:57 +0000 (18:00 +0000)]
Updates from Rusty Russell to:
1) Remove redundant header inclusion
2) Silence bitop on non-long argument warnings (change int to long)
3) Move to ISO C (gcc 2.6) initializers (accepted by older gccs also) All
of these are syntax changes that should not impact functionality.
Michel Daenzer [Thu, 18 Jul 2002 23:17:13 +0000 (23:17 +0000)]
fix off-by-one error for right bottom corner in radeon_emit_clip_rect()
(Jacek Rosik)
Tim Smith [Wed, 17 Jul 2002 08:30:36 +0000 (08:30 +0000)]
Workaround for Radeon lockups on fast machines
Michel Daenzer [Sun, 14 Jul 2002 20:26:52 +0000 (20:26 +0000)]
bump DRM minor and check it before using the GETPARAM ioctl to obtain
scratch register values
Michel Daenzer [Thu, 11 Jul 2002 20:31:12 +0000 (20:31 +0000)]
Don't read scratch registers directly, obtain the values via the GET_PARAM
ioctl. The DRM reads them from memory addresses the chip writes to on
updates. Fall back to reading the registers directly with an old DRM.
(Tim Smith, cleanups by myself)
Eric Anholt [Tue, 9 Jul 2002 02:40:38 +0000 (02:40 +0000)]
Increase the linux-compatibility max ioctl.
Alan Hourihane [Sat, 6 Jul 2002 09:43:12 +0000 (09:43 +0000)]
remove obsolete files
Alan Hourihane [Fri, 5 Jul 2002 08:58:15 +0000 (08:58 +0000)]
remove files missed by merge
Alan Hourihane [Fri, 5 Jul 2002 08:31:11 +0000 (08:31 +0000)]
merged bsd-3-0-0-branch
Keith Whitwell [Thu, 4 Jul 2002 12:03:15 +0000 (12:03 +0000)]
Fix some more pageflipping issues -- existing code was doing MMIO writes
while ring was active. There is still an MMIO read in there, but I
haven't seen any lockups that could be attributed to it.
Keith Whitwell [Thu, 4 Jul 2002 11:55:44 +0000 (11:55 +0000)]
Revert SET_SCISSORS change.
Tim Smith [Tue, 2 Jul 2002 21:34:25 +0000 (21:34 +0000)]
Fix lockup on faster machines when drawing in multiple clip rectangles
(e.g. when part of a 3D window is obscured by another window)
Keith Whitwell [Thu, 27 Jun 2002 17:56:39 +0000 (17:56 +0000)]
Set pfCurrentPage on cleanup_pageflip
Alan Hourihane [Tue, 25 Jun 2002 12:13:20 +0000 (12:13 +0000)]
gamma_alloc -> DRM(alloc)
Max Lingua [Tue, 25 Jun 2002 11:20:36 +0000 (11:20 +0000)]
file s3v.h was initially added on branch s3virge-0-0-1-branch.
Max Lingua [Tue, 25 Jun 2002 11:20:36 +0000 (11:20 +0000)]
file s3v_dma.c was initially added on branch s3virge-0-0-1-branch.
Max Lingua [Tue, 25 Jun 2002 11:20:36 +0000 (11:20 +0000)]
file s3v_drm.h was initially added on branch s3virge-0-0-1-branch.
Max Lingua [Tue, 25 Jun 2002 11:20:36 +0000 (11:20 +0000)]
file s3v_drv.c was initially added on branch s3virge-0-0-1-branch.
Max Lingua [Tue, 25 Jun 2002 11:20:36 +0000 (11:20 +0000)]
file s3v_drv.h was initially added on branch s3virge-0-0-1-branch.
Max Lingua [Tue, 25 Jun 2002 11:20:36 +0000 (11:20 +0000)]
file s3v_regs.h was initially added on branch s3virge-0-0-1-branch.
Eric Anholt [Fri, 21 Jun 2002 06:08:46 +0000 (06:08 +0000)]
file radeon_state.c was initially added on branch bsd-3-0-0-branch.
Eric Anholt [Fri, 21 Jun 2002 06:08:46 +0000 (06:08 +0000)]
file radeon.h was initially added on branch bsd-3-0-0-branch.
Eric Anholt [Fri, 21 Jun 2002 06:08:46 +0000 (06:08 +0000)]
file radeon_drm.h was initially added on branch bsd-3-0-0-branch.
Eric Anholt [Fri, 21 Jun 2002 06:08:46 +0000 (06:08 +0000)]
file mga_dma.c was initially added on branch bsd-3-0-0-branch.
Eric Anholt [Fri, 21 Jun 2002 06:08:46 +0000 (06:08 +0000)]
file mga_drv.h was initially added on branch bsd-3-0-0-branch.
Eric Anholt [Fri, 21 Jun 2002 06:08:46 +0000 (06:08 +0000)]
file mga_ucode.h was initially added on branch bsd-3-0-0-branch.
Eric Anholt [Fri, 21 Jun 2002 06:08:46 +0000 (06:08 +0000)]
file mga_warp.c was initially added on branch bsd-3-0-0-branch.
Eric Anholt [Fri, 21 Jun 2002 06:08:46 +0000 (06:08 +0000)]
file mga.h was initially added on branch bsd-3-0-0-branch.
Eric Anholt [Fri, 21 Jun 2002 06:08:46 +0000 (06:08 +0000)]
file mga_state.c was initially added on branch bsd-3-0-0-branch.
Eric Anholt [Fri, 21 Jun 2002 06:08:46 +0000 (06:08 +0000)]
file radeon_drv.h was initially added on branch bsd-3-0-0-branch.
Eric Anholt [Fri, 21 Jun 2002 06:08:46 +0000 (06:08 +0000)]
file mga_drm.h was initially added on branch bsd-3-0-0-branch.
Eric Anholt [Fri, 21 Jun 2002 06:08:46 +0000 (06:08 +0000)]
file radeon_cp.c was initially added on branch bsd-3-0-0-branch.
Eric Anholt [Wed, 19 Jun 2002 04:01:55 +0000 (04:01 +0000)]
file r128_state.c was initially added on branch bsd-3-0-0-branch.
Eric Anholt [Wed, 19 Jun 2002 04:01:54 +0000 (04:01 +0000)]
file r128_drv.h was initially added on branch bsd-3-0-0-branch.
Eric Anholt [Wed, 19 Jun 2002 04:01:54 +0000 (04:01 +0000)]
file r128_cce.c was initially added on branch bsd-3-0-0-branch.
Eric Anholt [Wed, 19 Jun 2002 04:01:54 +0000 (04:01 +0000)]
file r128.h was initially added on branch bsd-3-0-0-branch.
Eric Anholt [Wed, 19 Jun 2002 04:01:54 +0000 (04:01 +0000)]
file r128_drm.h was initially added on branch bsd-3-0-0-branch.
Michel Daenzer [Tue, 18 Jun 2002 22:40:26 +0000 (22:40 +0000)]
endianness fixes
Eric Anholt [Mon, 17 Jun 2002 22:18:00 +0000 (22:18 +0000)]
file drm_os_netbsd.h was initially added on branch bsd-3-0-0-branch.
Keith Whitwell [Wed, 12 Jun 2002 15:50:28 +0000 (15:50 +0000)]
merged tcl-0-0-branch
Michel Daenzer [Sun, 2 Jun 2002 16:00:45 +0000 (16:00 +0000)]
fixes for big endian in general and powerpc in particular
Jeff Hartmann [Wed, 29 May 2002 21:21:50 +0000 (21:21 +0000)]
Import Mesa 4.0 port of I830M/I845G 3D driver funded by 2d3d. Import
Lastest i810 ddx driver changes from XFree86 CVS to support the I845G.
Fixup warnings in I830M kernel driver.
-Jeff
Eric Anholt [Wed, 29 May 2002 08:44:52 +0000 (08:44 +0000)]
file r128_drv.c was initially added on branch bsd-3-0-0-branch.
Eric Anholt [Wed, 29 May 2002 08:44:52 +0000 (08:44 +0000)]
file mga_drv.c was initially added on branch bsd-3-0-0-branch.
Eric Anholt [Wed, 29 May 2002 08:44:52 +0000 (08:44 +0000)]
file tdfx.h was initially added on branch bsd-3-0-0-branch.
Eric Anholt [Wed, 29 May 2002 08:44:52 +0000 (08:44 +0000)]
file i830_dma.c was initially added on branch bsd-3-0-0-branch.
Eric Anholt [Wed, 29 May 2002 08:44:52 +0000 (08:44 +0000)]
file i830.h was initially added on branch bsd-3-0-0-branch.
Eric Anholt [Wed, 29 May 2002 08:44:52 +0000 (08:44 +0000)]
file i830_drv.c was initially added on branch bsd-3-0-0-branch.
Eric Anholt [Wed, 29 May 2002 08:44:52 +0000 (08:44 +0000)]
file i830_drv.h was initially added on branch bsd-3-0-0-branch.
Eric Anholt [Wed, 29 May 2002 08:44:52 +0000 (08:44 +0000)]
file i810_drv.h was initially added on branch bsd-3-0-0-branch.
Eric Anholt [Wed, 29 May 2002 08:44:52 +0000 (08:44 +0000)]
file radeon_drv.c was initially added on branch bsd-3-0-0-branch.
Eric Anholt [Wed, 29 May 2002 08:44:52 +0000 (08:44 +0000)]
file i810_dma.c was initially added on branch bsd-3-0-0-branch.
Eric Anholt [Wed, 29 May 2002 08:44:52 +0000 (08:44 +0000)]
file i810_drv.c was initially added on branch bsd-3-0-0-branch.
Eric Anholt [Wed, 29 May 2002 08:44:52 +0000 (08:44 +0000)]
file i810.h was initially added on branch bsd-3-0-0-branch.
Eric Anholt [Wed, 29 May 2002 08:44:52 +0000 (08:44 +0000)]
file gamma.h was initially added on branch bsd-3-0-0-branch.
Eric Anholt [Wed, 29 May 2002 08:44:52 +0000 (08:44 +0000)]
file mga.h was initially added on branch bsd-3-0-0-branch.
Eric Anholt [Wed, 29 May 2002 08:44:52 +0000 (08:44 +0000)]
file mga_dma.c was initially added on branch bsd-3-0-0-branch.
Eric Anholt [Wed, 29 May 2002 08:44:52 +0000 (08:44 +0000)]
file mga_drv.h was initially added on branch bsd-3-0-0-branch.
Eric Anholt [Wed, 29 May 2002 08:44:52 +0000 (08:44 +0000)]
file mga_state.c was initially added on branch bsd-3-0-0-branch.
Eric Anholt [Wed, 29 May 2002 08:44:52 +0000 (08:44 +0000)]
file mga_ucode.h was initially added on branch bsd-3-0-0-branch.
Eric Anholt [Wed, 29 May 2002 08:44:52 +0000 (08:44 +0000)]
file mga_warp.c was initially added on branch bsd-3-0-0-branch.
Eric Anholt [Wed, 29 May 2002 08:44:52 +0000 (08:44 +0000)]
file r128.h was initially added on branch bsd-3-0-0-branch.
Eric Anholt [Wed, 29 May 2002 08:44:52 +0000 (08:44 +0000)]
file r128_cce.c was initially added on branch bsd-3-0-0-branch.
Eric Anholt [Wed, 29 May 2002 08:44:52 +0000 (08:44 +0000)]
file r128_drv.h was initially added on branch bsd-3-0-0-branch.
Eric Anholt [Wed, 29 May 2002 08:44:52 +0000 (08:44 +0000)]
file r128_state.c was initially added on branch bsd-3-0-0-branch.
Eric Anholt [Wed, 29 May 2002 08:44:52 +0000 (08:44 +0000)]
file radeon.h was initially added on branch bsd-3-0-0-branch.
Eric Anholt [Wed, 29 May 2002 08:44:52 +0000 (08:44 +0000)]
file radeon_cp.c was initially added on branch bsd-3-0-0-branch.
Eric Anholt [Wed, 29 May 2002 08:44:52 +0000 (08:44 +0000)]
file radeon_drv.h was initially added on branch bsd-3-0-0-branch.
Eric Anholt [Wed, 29 May 2002 08:44:52 +0000 (08:44 +0000)]
file radeon_state.c was initially added on branch bsd-3-0-0-branch.
Alan Hourihane [Fri, 17 May 2002 08:35:47 +0000 (08:35 +0000)]
Remove some older Linux 2.3.99 code
Alan Hourihane [Fri, 17 May 2002 08:21:34 +0000 (08:21 +0000)]
same udelay fixes
Keith Whitwell [Thu, 16 May 2002 23:47:15 +0000 (23:47 +0000)]
Allow drm to build under 2.4 and 2.5(.14)
Jens Owen [Tue, 9 Apr 2002 21:54:56 +0000 (21:54 +0000)]
Merged drmcommand-0-0-1
Jens Owen [Fri, 29 Mar 2002 16:31:52 +0000 (16:31 +0000)]
file xf86drmCompat.c was initially added on branch drmcommand-0-0-1-branch.
Alan Hourihane [Mon, 18 Mar 2002 19:21:14 +0000 (19:21 +0000)]
file trident_drv.c was initially added on branch trident-0-0-1-branch.
Alan Hourihane [Mon, 18 Mar 2002 19:21:14 +0000 (19:21 +0000)]
file trident.h was initially added on branch trident-0-0-1-branch.
Alan Hourihane [Mon, 11 Mar 2002 11:26:13 +0000 (11:26 +0000)]
fixups for *BSD
Keith Whitwell [Fri, 8 Mar 2002 16:03:37 +0000 (16:03 +0000)]
Fix backwards compatibility bug, add tests for good numbers of
vertices/prim.
Alan Hourihane [Fri, 8 Mar 2002 09:00:12 +0000 (09:00 +0000)]
missing file
Alan Hourihane [Wed, 6 Mar 2002 20:14:30 +0000 (20:14 +0000)]
fixup the radeon driver (not tested)
Alan Hourihane [Wed, 6 Mar 2002 19:31:39 +0000 (19:31 +0000)]
i830 & mga contain minor changes from 4.2.0 for mesa 4.0 bsd merge
Alan Hourihane [Wed, 6 Mar 2002 19:30:45 +0000 (19:30 +0000)]
first pass at merging mesa 4.0 kernel drivers into new bsd-3-0-0 branch.
David Dawes [Thu, 14 Feb 2002 02:00:26 +0000 (02:00 +0000)]
First pass of mesa-4-0 branch merge into trunk.
Michel Daenzer [Sat, 2 Feb 2002 17:03:51 +0000 (17:03 +0000)]
wrapper for ioremap_nocache() like for ioremap() (Paul Mundt)
David Dawes [Sun, 27 Jan 2002 20:05:42 +0000 (20:05 +0000)]
First pass merge of XFree86 4.2.0 import.
David Dawes [Sun, 27 Jan 2002 18:23:04 +0000 (18:23 +0000)]
Import of XFree86 4.2.0
David Dawes [Sun, 27 Jan 2002 18:23:04 +0000 (18:23 +0000)]
Initial revision
Alan Hourihane [Mon, 10 Dec 2001 23:29:37 +0000 (23:29 +0000)]
merge with linux kernel 2.4.15
Keith Whitwell [Tue, 27 Nov 2001 11:43:12 +0000 (11:43 +0000)]
Put back i810 major version number (same reasons as for r128)
Keith Whitwell [Mon, 26 Nov 2001 13:28:38 +0000 (13:28 +0000)]
Put drm version back from 3.0 to 2.2; XFree86 4.1 is the baseline for
versioning information.
Alan Hourihane [Fri, 2 Nov 2001 17:40:11 +0000 (17:40 +0000)]
wrap the MODULE_LICENSE definition.
Alan Hourihane [Mon, 22 Oct 2001 19:15:04 +0000 (19:15 +0000)]
merge kernel 2.4.13-pre6.
Manuel Teira [Sun, 21 Oct 2001 21:08:15 +0000 (21:08 +0000)]
file mach64.h was initially added on branch mach64-0-0-2-branch.