Commit graph

528 commits

Author SHA1 Message Date
Eric Anholt
939c60b80a Remove the untested, unused gamma driver. 2003-02-08 03:23:23 +00:00
Eric Anholt
6e37c20647 Unitialize mutexes on cleanup, fixes panics on 5.0 with WITNESS. 2003-02-08 03:22:28 +00:00
Eric Anholt
6f79735e8a Update Radeon PCI IDs. 2003-02-08 03:16:47 +00:00
Eric Anholt
f0dd998bb3 Remove the untested vblank signal code from this branch. 2003-02-08 03:14:57 +00:00
Michel Daenzer
fa355132af fix EAGAIN handling in radeon_cp_dispatch_texture() (fixes corruption of
large textures), and get rid of superfluous local y variable
2003-02-06 18:25:52 +00:00
Michel Daenzer
2298f2a615 disable strict aliasing for building the DRM 2003-02-04 19:35:42 +00:00
Michel Daenzer
0618c131c5 fix PCI and AGP posting problems (based on testing by Chris Ison and
suggestions by Benjamin Herrenschmidt and Arjan van de Ven)
remove radeon_flush_write_combine() which has been unused for a while
2003-02-04 19:25:13 +00:00
Michel Daenzer
164485d34a only acknowledge interrupts we handle - others could be used outside the
DRM
2003-02-04 16:06:32 +00:00
Keith Whitwell
f93afda186 Fix size of VERTEX2 ioctl struct (Egbert Eich) 2003-02-03 14:31:04 +00:00
Michel Daenzer
053ea8af9d don't inflate relative vblank sequence numbers on repeated calls (e.g. when
interrupted by a signal)
2003-02-02 03:07:43 +00:00
Eric Anholt
4c404e4642 Add a define for M_WAITOK if it is not present (removed in 5-current). 2003-01-31 03:24:28 +00:00
Leif Delgass
204936f4c7 Add cast to avoid void * arithmetic warning 2003-01-26 22:24:20 +00:00
Michel Daenzer
4fe8f23690 limit number of pending vblank signals to 100 to prevent DoS, and minor
cleanups
2003-01-25 22:02:05 +00:00
David Dawes
07f64af93a Resync with XFree86 trunk. 2002-12-16 19:18:53 +00:00
Michel Daenzer
c4c614eaac merge changes from trunk since Mesa 5.0 merge 2002-12-14 17:42:48 +00:00
Brian Paul
c869f4a1e5 added missing return fd (Alexander Stohr) 2002-11-25 16:03:20 +00:00
Keith Whitwell
a654424ca1 Silence the radeon_freelist_get 'returning NULL' message. It's not an error
& just confuses people.
2002-11-25 09:34:47 +00:00
Michel Daenzer
b96f48a89c allow unprivileged clients to use the GETPARAM ioctl (Wang WenRui) 2002-11-23 11:58:33 +00:00
Eric Anholt
e656655a36 Kernel support for vblank syncing on Rage 128 and Matrox. 2002-10-30 06:10:34 +00:00
Jens Owen
344c7f6b41 updated e-mail addresses for Keith, Alan and Jens 2002-10-29 20:29:05 +00:00
Michel Daenzer
5e1b8ed88a preserve CRTC{,2}_OFFSET_CNTL in 2D driver to avoid bad effects when
pageflipping after a mode switch
take current page into account in AdjustFrame(); writing the CRTC offset
    via the CP was probably a bad idea as this can happen asynchronously,
    reverted
take frame offset into account when flipping pages
handle CRTC2 as well for pageflipping (untested)
preserve GEN_INT_CNTL on mode switches to prevent interrupts from getting
    disabled
2002-10-29 13:49:26 +00:00
Eric Anholt
10900dab7c Use bus_alloc_resource/bus_release_resource more properly: save the rid
returned by alloc.
2002-10-29 03:20:21 +00:00
Brian Paul
ff25e7016c merge from mesa-4-1-branch to get cube-map registers. bumped version to 1.7 2002-10-28 19:05:40 +00:00
Eric Anholt
516392beff s/udelay/DRM_UDELAY/ 2002-10-27 05:25:50 +00:00
Eric Anholt
9f21f02217 Catch up to -current. 2002-10-27 05:24:33 +00:00
Alan Hourihane
b3a20ce219 final part of XFree86 4.2.99.2 merge 2002-10-22 23:38:53 +00:00
Alan Hourihane
ff4baa69da Import of XFree86 4.2.99.2 2002-10-22 13:43:45 +00:00
Eric Anholt
5e9fad3588 Fix reversed test that broke vblank waiting on FreeBSD.
Pointy hat to: anholt
2002-10-14 23:35:24 +00:00
Keith Whitwell
3d69766ea6 Jonny Strom's mga_dma.c patch 2002-10-10 08:25:40 +00:00
Brian Paul
2af90a581d replaced max() macro with conditional expression 2002-10-09 16:29:01 +00:00
Keith Whitwell
aa1ca406d6 Fix error condition... 2002-10-08 08:32:06 +00:00
Keith Whitwell
a653224403 Call pci_enable_device() in DRM(irq_busid). 2002-10-08 08:29:47 +00:00
Keith Whitwell
381e0fe7f8 Free correct block in free_block (K. Rasche) 2002-10-02 07:55:27 +00:00
Michel Daenzer
8c14585fc3 fix wait condition for vertical blank IRQs 2002-10-01 17:31:20 +00:00
Eric Anholt
537f2208f0 Remove some noise being spit to the console. 2002-09-29 23:56:17 +00:00
Eric Anholt
506c1c02a4 Make our set_bit and friends match linux better (cleans up some warnings) 2002-09-29 23:21:55 +00:00
Eric Anholt
efda4ce353 warnings cleanup 2002-09-29 22:47:08 +00:00
Eric Anholt
33a51d8518 Fix some of my silliness in DRM_WAIT_ON (not returning EINTR). 2002-09-29 22:39:34 +00:00
Keith Whitwell
899df4f530 Turn boxes off again 2002-09-29 21:22:01 +00:00
Keith Whitwell
9243e642da Move os-dependent stuff out of radeon_irq.c 2002-09-29 21:19:01 +00:00
Eric Anholt
e6901cad69 Fix up BSD irq handling. 2002-09-29 20:48:18 +00:00
Michel Daenzer
ec48dfa835 add support for 16K and 64K page sizes (Bjorn Helgaas) 2002-09-29 00:12:28 +00:00
Michel Daenzer
a33d42e2ba make SW interrupts more robust: write sequence number to scratch register,
acknowledge any lost interrupts before waiting
2002-09-27 21:47:52 +00:00
Michel Daenzer
cc9a169d08 DRM(vblank_wait) is driver specific 2002-09-26 12:49:18 +00:00
Eric Anholt
97961e2c65 BSD vblank framework. 2002-09-26 07:45:07 +00:00
Eric Anholt
770d045d25 Fix one warning. 2002-09-26 07:21:05 +00:00
Michel Daenzer
f40674ea9f change RADEON_PARAM_IRQ_ACTIVE to RADEON_PARAM_IRQ_NR 2002-09-25 19:48:51 +00:00
Michel Daenzer
55acd0d5a6 common ioctl to wait for vertical blank IRQs 2002-09-25 17:18:19 +00:00
Keith Whitwell
f1c8fe9557 merged r200-0-2-branch to trunk 2002-09-23 17:26:43 +00:00
Michel Daenzer
cfa1a918b6 make sure we never oops because the hardware lock pointer in the sigdata
structure is out of date
2002-09-21 23:18:54 +00:00