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
Eric Anholt
89181b9c59
file r128_cce.c was initially added on branch bsd-3-0-0-branch.
2002-06-19 04:01:54 +00:00
Eric Anholt
2015f55137
file r128.h was initially added on branch bsd-3-0-0-branch.
2002-06-19 04:01:54 +00:00
Eric Anholt
5465239b0c
file r128_drm.h was initially added on branch bsd-3-0-0-branch.
2002-06-19 04:01:54 +00:00
Michel Daenzer
063d0a30c2
endianness fixes
2002-06-18 22:40:26 +00:00
Eric Anholt
1cb0718942
file drm_os_netbsd.h was initially added on branch bsd-3-0-0-branch.
2002-06-17 22:18:00 +00:00
Keith Whitwell
2dcada361d
merged tcl-0-0-branch
2002-06-12 15:50:28 +00:00
Michel Daenzer
5676a2a610
fixes for big endian in general and powerpc in particular
2002-06-02 16:00:45 +00:00
Jeff Hartmann
6ac48cddd0
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
2002-05-29 21:21:50 +00:00
Eric Anholt
96b22f57ea
file r128_drv.c was initially added on branch bsd-3-0-0-branch.
2002-05-29 08:44:52 +00:00