profile/ivi/libdrm.git
22 years agoChange the linux kernel version condition in the i810 driver (according to
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)

22 years agoRemove drm_linux.h, move the two useful defines into drm_drv.h (the only
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.

22 years agoadd missing include (for udelay), remove unused counter.
Leif Delgass [Wed, 21 Aug 2002 01:14:43 +0000 (01:14 +0000)]
add missing include (for udelay), remove unused counter.

22 years agoTRUE and FALSE don't seem to be defined everywhere...
Michel Daenzer [Wed, 21 Aug 2002 00:09:32 +0000 (00:09 +0000)]
TRUE and FALSE don't seem to be defined everywhere...

22 years agozero-cliprect case patch from Jacek
Keith Whitwell [Mon, 12 Aug 2002 07:26:00 +0000 (07:26 +0000)]
zero-cliprect case patch from Jacek

22 years agotest scratch register writeback before using it
Michel Daenzer [Sun, 11 Aug 2002 15:56:44 +0000 (15:56 +0000)]
test scratch register writeback before using it

22 years agoTry to open the /dev/dri/cardX device once, then only if it fails check the
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.

22 years agoUpdates from Rusty Russell to:
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.

22 years agofix off-by-one error for right bottom corner in radeon_emit_clip_rect()
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)

22 years agoWorkaround for Radeon lockups on fast machines
Tim Smith [Wed, 17 Jul 2002 08:30:36 +0000 (08:30 +0000)]
Workaround for Radeon lockups on fast machines

22 years agobump DRM minor and check it before using the GETPARAM ioctl to obtain
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

22 years agoDon't read scratch registers directly, obtain the values via the GET_PARAM
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)

22 years agoIncrease the linux-compatibility max ioctl.
Eric Anholt [Tue, 9 Jul 2002 02:40:38 +0000 (02:40 +0000)]
Increase the linux-compatibility max ioctl.

22 years agoremove obsolete files
Alan Hourihane [Sat, 6 Jul 2002 09:43:12 +0000 (09:43 +0000)]
remove obsolete files

22 years agoremove files missed by merge
Alan Hourihane [Fri, 5 Jul 2002 08:58:15 +0000 (08:58 +0000)]
remove files missed by merge

22 years agomerged bsd-3-0-0-branch
Alan Hourihane [Fri, 5 Jul 2002 08:31:11 +0000 (08:31 +0000)]
merged bsd-3-0-0-branch

22 years agoFix some more pageflipping issues -- existing code was doing MMIO writes
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.

22 years agoRevert SET_SCISSORS change.
Keith Whitwell [Thu, 4 Jul 2002 11:55:44 +0000 (11:55 +0000)]
Revert SET_SCISSORS change.

22 years agoFix lockup on faster machines when drawing in multiple clip rectangles
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)

22 years agoSet pfCurrentPage on cleanup_pageflip
Keith Whitwell [Thu, 27 Jun 2002 17:56:39 +0000 (17:56 +0000)]
Set pfCurrentPage on cleanup_pageflip

22 years agogamma_alloc -> DRM(alloc)
Alan Hourihane [Tue, 25 Jun 2002 12:13:20 +0000 (12:13 +0000)]
gamma_alloc -> DRM(alloc)

22 years agofile 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.h was initially added on branch s3virge-0-0-1-branch.

22 years agofile 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_dma.c was initially added on branch s3virge-0-0-1-branch.

22 years agofile 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_drm.h was initially added on branch s3virge-0-0-1-branch.

22 years agofile 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.c was initially added on branch s3virge-0-0-1-branch.

22 years agofile 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_drv.h was initially added on branch s3virge-0-0-1-branch.

22 years agofile s3v_regs.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.

22 years agofile 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_state.c was initially added on branch bsd-3-0-0-branch.

22 years agofile 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.h was initially added on branch bsd-3-0-0-branch.

22 years agofile 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 radeon_drm.h was initially added on branch bsd-3-0-0-branch.

22 years agofile 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_dma.c was initially added on branch bsd-3-0-0-branch.

22 years agofile 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_drv.h was initially added on branch bsd-3-0-0-branch.

22 years agofile 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_ucode.h was initially added on branch bsd-3-0-0-branch.

22 years agofile 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_warp.c was initially added on branch bsd-3-0-0-branch.

22 years agofile 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.h was initially added on branch bsd-3-0-0-branch.

22 years agofile 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 mga_state.c was initially added on branch bsd-3-0-0-branch.

22 years agofile 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 radeon_drv.h was initially added on branch bsd-3-0-0-branch.

22 years agofile 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 mga_drm.h was initially added on branch bsd-3-0-0-branch.

22 years agofile radeon_cp.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_cp.c was initially added on branch bsd-3-0-0-branch.

22 years agofile r128_state.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.

22 years agofile 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_drv.h was initially added on branch bsd-3-0-0-branch.

22 years agofile 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_cce.c was initially added on branch bsd-3-0-0-branch.

22 years agofile 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.h was initially added on branch bsd-3-0-0-branch.

22 years agofile r128_drm.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.

22 years agoendianness fixes
Michel Daenzer [Tue, 18 Jun 2002 22:40:26 +0000 (22:40 +0000)]
endianness fixes

22 years agofile drm_os_netbsd.h was initially added on branch bsd-3-0-0-branch.
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.

22 years agomerged tcl-0-0-branch
Keith Whitwell [Wed, 12 Jun 2002 15:50:28 +0000 (15:50 +0000)]
merged tcl-0-0-branch

22 years agofixes for big endian in general and powerpc in particular
Michel Daenzer [Sun, 2 Jun 2002 16:00:45 +0000 (16:00 +0000)]
fixes for big endian in general and powerpc in particular

22 years agoImport Mesa 4.0 port of I830M/I845G 3D driver funded by 2d3d. Import
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

22 years agofile 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 r128_drv.c was initially added on branch bsd-3-0-0-branch.

22 years agofile 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 mga_drv.c was initially added on branch bsd-3-0-0-branch.

22 years agofile 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 tdfx.h was initially added on branch bsd-3-0-0-branch.

22 years agofile 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_dma.c was initially added on branch bsd-3-0-0-branch.

22 years agofile 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.h was initially added on branch bsd-3-0-0-branch.

22 years agofile 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.c was initially added on branch bsd-3-0-0-branch.

22 years agofile 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 i830_drv.h was initially added on branch bsd-3-0-0-branch.

22 years agofile 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 i810_drv.h was initially added on branch bsd-3-0-0-branch.

22 years agofile 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 radeon_drv.c was initially added on branch bsd-3-0-0-branch.

22 years agofile 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_dma.c was initially added on branch bsd-3-0-0-branch.

22 years agofile 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_drv.c was initially added on branch bsd-3-0-0-branch.

22 years agofile 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 i810.h was initially added on branch bsd-3-0-0-branch.

22 years agofile 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 gamma.h was initially added on branch bsd-3-0-0-branch.

22 years agofile 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.h was initially added on branch bsd-3-0-0-branch.

22 years agofile 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_dma.c was initially added on branch bsd-3-0-0-branch.

22 years agofile 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_drv.h was initially added on branch bsd-3-0-0-branch.

22 years agofile 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_state.c was initially added on branch bsd-3-0-0-branch.

22 years agofile 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_ucode.h was initially added on branch bsd-3-0-0-branch.

22 years agofile 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 mga_warp.c was initially added on branch bsd-3-0-0-branch.

22 years agofile 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.h was initially added on branch bsd-3-0-0-branch.

22 years agofile 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_cce.c was initially added on branch bsd-3-0-0-branch.

22 years agofile 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_drv.h was initially added on branch bsd-3-0-0-branch.

22 years agofile 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 r128_state.c was initially added on branch bsd-3-0-0-branch.

22 years agofile 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.h was initially added on branch bsd-3-0-0-branch.

22 years agofile 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_cp.c was initially added on branch bsd-3-0-0-branch.

22 years agofile 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_drv.h was initially added on branch bsd-3-0-0-branch.

22 years agofile radeon_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_state.c was initially added on branch bsd-3-0-0-branch.

22 years agoRemove some older Linux 2.3.99 code
Alan Hourihane [Fri, 17 May 2002 08:35:47 +0000 (08:35 +0000)]
Remove some older Linux 2.3.99 code

22 years agosame udelay fixes
Alan Hourihane [Fri, 17 May 2002 08:21:34 +0000 (08:21 +0000)]
same udelay fixes

22 years agoAllow drm to build under 2.4 and 2.5(.14)
Keith Whitwell [Thu, 16 May 2002 23:47:15 +0000 (23:47 +0000)]
Allow drm to build under 2.4 and 2.5(.14)

22 years agoMerged drmcommand-0-0-1
Jens Owen [Tue, 9 Apr 2002 21:54:56 +0000 (21:54 +0000)]
Merged drmcommand-0-0-1

22 years agofile xf86drmCompat.c was initially added on branch drmcommand-0-0-1-branch.
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.

22 years agofile 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_drv.c was initially added on branch trident-0-0-1-branch.

22 years agofile trident.h 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.

22 years agofixups for *BSD
Alan Hourihane [Mon, 11 Mar 2002 11:26:13 +0000 (11:26 +0000)]
fixups for *BSD

22 years agoFix backwards compatibility bug, add tests for good numbers of
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.

22 years agomissing file
Alan Hourihane [Fri, 8 Mar 2002 09:00:12 +0000 (09:00 +0000)]
missing file

22 years agofixup the radeon driver (not tested)
Alan Hourihane [Wed, 6 Mar 2002 20:14:30 +0000 (20:14 +0000)]
fixup the radeon driver (not tested)

22 years agoi830 & mga contain minor changes from 4.2.0 for mesa 4.0 bsd merge
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

22 years agofirst pass at merging mesa 4.0 kernel drivers into new bsd-3-0-0 branch.
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.

22 years agoFirst pass of mesa-4-0 branch merge into trunk.
David Dawes [Thu, 14 Feb 2002 02:00:26 +0000 (02:00 +0000)]
First pass of mesa-4-0 branch merge into trunk.

22 years agowrapper for ioremap_nocache() like for ioremap() (Paul Mundt)
Michel Daenzer [Sat, 2 Feb 2002 17:03:51 +0000 (17:03 +0000)]
wrapper for ioremap_nocache() like for ioremap() (Paul Mundt)

22 years agoFirst pass merge of XFree86 4.2.0 import.
David Dawes [Sun, 27 Jan 2002 20:05:42 +0000 (20:05 +0000)]
First pass merge of XFree86 4.2.0 import.

22 years agoImport of XFree86 4.2.0
David Dawes [Sun, 27 Jan 2002 18:23:04 +0000 (18:23 +0000)]
Import of XFree86 4.2.0

22 years agoInitial revision
David Dawes [Sun, 27 Jan 2002 18:23:04 +0000 (18:23 +0000)]
Initial revision

22 years agomerge with linux kernel 2.4.15
Alan Hourihane [Mon, 10 Dec 2001 23:29:37 +0000 (23:29 +0000)]
merge with linux kernel 2.4.15

22 years agoPut back i810 major version number (same reasons as for r128)
Keith Whitwell [Tue, 27 Nov 2001 11:43:12 +0000 (11:43 +0000)]
Put back i810 major version number (same reasons as for r128)

22 years agoPut drm version back from 3.0 to 2.2; XFree86 4.1 is the baseline for
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.

23 years agowrap the MODULE_LICENSE definition.
Alan Hourihane [Fri, 2 Nov 2001 17:40:11 +0000 (17:40 +0000)]
wrap the MODULE_LICENSE definition.

23 years agomerge kernel 2.4.13-pre6.
Alan Hourihane [Mon, 22 Oct 2001 19:15:04 +0000 (19:15 +0000)]
merge kernel 2.4.13-pre6.

23 years agofile mach64.h was initially added on branch mach64-0-0-2-branch.
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.