Keith Whitwell
4fcde1efc1
standardize use of __FUNCTION__ (Linus)
2002-08-29 07:34:49 +00:00
Keith Whitwell
22c1ca1fd5
Turn boxes off.
2002-08-28 08:47:39 +00:00
Eric Anholt
8a8cfd38df
Remove i8x0 files from the BSD side. These were not actually ported, and
...
when they do get ported most of them won't live in these directories.
2002-08-28 04:33:02 +00:00
Keith Whitwell
fa560b4847
file radeon_mem.c was initially added on branch r200-0-2-branch.
2002-08-27 12:16:32 +00:00
Eric Anholt
e4830ba553
Remove drm_linux.h, it's no longer used.
2002-08-27 03:56:10 +00:00
Eric Anholt
5e81d590d5
Include non-radeon modules in the build.
2002-08-27 01:22:55 +00:00
Keith Whitwell
48cc350e21
merged r200-0-1-branch
2002-08-26 22:16:18 +00:00
Leif Delgass
a697941d4c
Don't (re)define vmalloc_to_page for kernel >= 2.4.19, as it has been
...
backported from 2.5.x. Also fix a couple of incorrect
LINUX_VERSION_CODE tests and fix header dependency for r128, radeon
when building without AGP.
2002-08-22 19:35:31 +00:00
Leif Delgass
2febcafd66
SetPageLocked only defined in 2.5.x (x=?), use LockPage for 2.4.x (x>=9).
...
Also apply build fixes from i810_dma.c to i830_dma.c
2002-08-22 18:43:39 +00:00
Jose Fonseca
18d3fac990
Change the linux kernel version condition in the i810 driver (according to
...
Alan Cox)
2002-08-21 14:09:28 +00:00
Eric Anholt
77c35c043a
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.
2002-08-21 07:14:21 +00:00
Leif Delgass
8eedac5833
add missing include (for udelay), remove unused counter.
2002-08-21 01:14:43 +00:00
Michel Daenzer
3165128fc4
TRUE and FALSE don't seem to be defined everywhere...
2002-08-21 00:09:32 +00:00
Keith Whitwell
33d57137da
zero-cliprect case patch from Jacek
2002-08-12 07:26:00 +00:00
Michel Daenzer
d0ac4e5ad0
test scratch register writeback before using it
2002-08-11 15:56:44 +00:00
Eric Anholt
d2f2b42f1d
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.
2002-08-08 21:23:46 +00:00
Rik Faith
977b420d5d
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.
2002-08-06 18:00:57 +00:00
Michel Daenzer
881a9b214d
fix off-by-one error for right bottom corner in radeon_emit_clip_rect()
...
(Jacek Rosik)
2002-07-18 23:17:13 +00:00
Tim Smith
8fa8db126a
Workaround for Radeon lockups on fast machines
2002-07-17 08:30:36 +00:00
Michel Daenzer
9a3a3143ce
bump DRM minor and check it before using the GETPARAM ioctl to obtain
...
scratch register values
2002-07-14 20:26:52 +00:00
Michel Daenzer
fd86ac9561
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)
2002-07-11 20:31:12 +00:00
Eric Anholt
2ec9c15d8c
Increase the linux-compatibility max ioctl.
2002-07-09 02:40:38 +00:00
Alan Hourihane
9ceabc585a
remove obsolete files
2002-07-06 09:43:12 +00:00
Alan Hourihane
59c07e447b
remove files missed by merge
2002-07-05 08:58:15 +00:00
Alan Hourihane
74ef13fd00
merged bsd-3-0-0-branch
2002-07-05 08:31:11 +00:00
Keith Whitwell
24025ca5f7
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.
2002-07-04 12:03:15 +00:00
Keith Whitwell
ca81e1334e
Revert SET_SCISSORS change.
2002-07-04 11:55:44 +00:00
Tim Smith
cc45cc0609
Fix lockup on faster machines when drawing in multiple clip rectangles
...
(e.g. when part of a 3D window is obscured by another window)
2002-07-02 21:34:25 +00:00
Keith Whitwell
bb91bc0879
Set pfCurrentPage on cleanup_pageflip
2002-06-27 17:56:39 +00:00
Alan Hourihane
8aecdbea76
gamma_alloc -> DRM(alloc)
2002-06-25 12:13:20 +00:00
Max Lingua
f626cf76e6
file s3v.h was initially added on branch s3virge-0-0-1-branch.
2002-06-25 11:20:36 +00:00
Max Lingua
4cdcbd6c2f
file s3v_dma.c was initially added on branch s3virge-0-0-1-branch.
2002-06-25 11:20:36 +00:00
Max Lingua
4073aa694c
file s3v_drm.h was initially added on branch s3virge-0-0-1-branch.
2002-06-25 11:20:36 +00:00
Max Lingua
5f8b0028a2
file s3v_drv.c was initially added on branch s3virge-0-0-1-branch.
2002-06-25 11:20:36 +00:00
Max Lingua
688082d656
file s3v_drv.h was initially added on branch s3virge-0-0-1-branch.
2002-06-25 11:20:36 +00:00
Max Lingua
978136f2f4
file s3v_regs.h was initially added on branch s3virge-0-0-1-branch.
2002-06-25 11:20:36 +00:00
Eric Anholt
663c9a152a
file radeon_state.c was initially added on branch bsd-3-0-0-branch.
2002-06-21 06:08:46 +00:00
Eric Anholt
3fe7fb316c
file radeon.h was initially added on branch bsd-3-0-0-branch.
2002-06-21 06:08:46 +00:00
Eric Anholt
f8794f23f6
file radeon_drm.h was initially added on branch bsd-3-0-0-branch.
2002-06-21 06:08:46 +00:00
Eric Anholt
1942da19d4
file mga_dma.c was initially added on branch bsd-3-0-0-branch.
2002-06-21 06:08:46 +00:00
Eric Anholt
baf55c1b8b
file mga_drv.h was initially added on branch bsd-3-0-0-branch.
2002-06-21 06:08:46 +00:00
Eric Anholt
df6e570e4d
file mga_ucode.h was initially added on branch bsd-3-0-0-branch.
2002-06-21 06:08:46 +00:00
Eric Anholt
2a0545aa19
file mga_warp.c was initially added on branch bsd-3-0-0-branch.
2002-06-21 06:08:46 +00:00
Eric Anholt
0ca7468d06
file mga.h was initially added on branch bsd-3-0-0-branch.
2002-06-21 06:08:46 +00:00
Eric Anholt
d29446a300
file mga_state.c was initially added on branch bsd-3-0-0-branch.
2002-06-21 06:08:46 +00:00
Eric Anholt
1c9c08717a
file radeon_drv.h was initially added on branch bsd-3-0-0-branch.
2002-06-21 06:08:46 +00:00
Eric Anholt
5dd77d6e49
file mga_drm.h was initially added on branch bsd-3-0-0-branch.
2002-06-21 06:08:46 +00:00
Eric Anholt
a3ddb601df
file radeon_cp.c was initially added on branch bsd-3-0-0-branch.
2002-06-21 06:08:46 +00:00
Eric Anholt
9e3d3c9541
file r128_state.c was initially added on branch bsd-3-0-0-branch.
2002-06-19 04:01:55 +00:00
Eric Anholt
c4f1116369
file r128_drv.h was initially added on branch bsd-3-0-0-branch.
2002-06-19 04:01:54 +00:00