Commit Graph

2857 Commits (47ee6237fe86a8621744bbd6cecb8b5e58848b05)

Author SHA1 Message Date
Eric Anholt 3f786dbd18 Update mmap handling for FreeBSD-current (Based on r1.3 of FreeBSD CVS). 2003-03-05 06:04:50 +00:00
Eric Anholt 1434bfe4a8 Remove a paste-o in DRM_SPINUNINIT and add a volatile to the compatibility
atomic_cmpset_int.
2003-03-05 04:14:52 +00:00
Keith Whitwell 51e5f73d2a DRM_FREE/2 patch from Philip Brown 2003-03-04 11:41:12 +00:00
Jose Fonseca 708ecd0e4b file savage_drv.h was initially added on branch savage-0-0-1-branch. 2003-03-02 21:44:26 +00:00
Jose Fonseca 2254ac21b8 file savage_drm.h was initially added on branch savage-0-0-1-branch. 2003-03-02 21:44:26 +00:00
Jose Fonseca ef6838e92e file savage_bci.c was initially added on branch savage-0-0-1-branch. 2003-03-02 21:44:26 +00:00
Leif Delgass eb0fd431c8 Update object targets 2003-02-28 19:39:46 +00:00
Jose Fonseca 40de83c52c file savage_drv.c was initially added on branch savage-0-0-1-branch. 2003-02-27 12:52:42 +00:00
Jose Fonseca 1c3f704905 file savage.h was initially added on branch savage-0-0-1-branch. 2003-02-27 12:52:42 +00:00
Leif Delgass 40bae8bec8 file mach64_irq.c was initially added on branch mach64-0-0-6-branch. 2003-02-26 09:49:54 +00:00
Eric Anholt b487f30ea5 Fix build on NetBSD. 2003-02-22 18:40:12 +00:00
Eric Anholt cfa778af9c Merge from bsd-4-0-0-branch. 2003-02-21 23:23:09 +00:00
Eric Anholt a64472d184 file mach64_drm.h was initially added on branch mach64-0-0-6-branch. 2003-02-16 19:03:04 +00:00
Eric Anholt 5bf6a26aeb file mach64_state.c was initially added on branch mach64-0-0-6-branch. 2003-02-16 19:03:04 +00:00
Eric Anholt bd6120a28c file mach64_drv.h was initially added on branch mach64-0-0-6-branch. 2003-02-16 19:03:04 +00:00
Eric Anholt afcfefa6dc file mach64_dma.c was initially added on branch mach64-0-0-6-branch. 2003-02-16 19:03:04 +00:00
Eric Anholt 314d1d2cbe file mach64.h was initially added on branch mach64-0-0-6-branch. 2003-02-16 19:03:04 +00:00
Michel Daenzer 639c2d813f reclaim DMA buffers in DRIVER_RELEASE() (Felix Khling) 2003-02-08 18:02:02 +00:00
Michel Daenzer fac2ed4d10 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:20:00 +00:00
Michel Daenzer b88cc5da26 disable strict aliasing for building the DRM 2003-02-04 19:28:52 +00:00
Michel Daenzer 73bf29a6c1 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:20:18 +00:00
Michel Daenzer f13af50838 only acknowledge interrupts we handle - others could be used outside the
DRM
2003-02-04 15:56:37 +00:00
Keith Whitwell f3751850c8 Fix size of VERTEX2 ioctl struct (Egbert Eich) 2003-02-03 14:30:32 +00:00
Michel Daenzer c7d471b6ae don't inflate relative vblank sequence numbers on repeated calls (e.g. when
interrupted by a signal)
2003-02-02 03:06:47 +00:00
Leif Delgass 9b9b099471 Add cast to avoid void * arithmetic warning 2003-01-26 22:25:35 +00:00
Eric Anholt 66f57c403c Fix build on -current: Provide M_WAITOK define. 2003-01-24 00:49:15 +00:00
Eric Anholt 77ea378b09 Fix radeon for BSD. 2003-01-16 06:20:44 +00:00
Michel Daenzer 826aad0aba limit number of pending vblank signals to 100 to prevent DoS, and minor
cleanups
2003-01-11 20:58:20 +00:00
Jeff Hartmann 6f940bc3f8 file agp_30_symbols.h was initially added on branch agpgart_2_0_branch. 2003-01-11 05:42:37 +00:00
Keith Whitwell a1fc6af2d8 Note that radeon_do_cp_idle() can fail, cope with it. 2003-01-10 17:04:21 +00:00
Rik Faith 4b3051d3f6 [TRIVIAL] [TRIVIAL PATCH 2.5.48] Remove unused function from radeon_mem.c
Submitted by Rusty Trivial Russell
2003-01-06 07:38:25 +00:00
Keith Whitwell 320802ebc1 more cleanups, free mem heap data on last client exit 2003-01-03 11:22:23 +00:00
Keith Whitwell 7419aa6e3f Bump radeon drm version nr on recent interface relaxation 2003-01-02 18:59:43 +00:00
Keith Whitwell 14e831baf4 Remove printk 2003-01-02 18:41:02 +00:00
Keith Whitwell 208c0779b6 Make the radeon drm module better at cleaning up after itself if all the
clients (particularly the X server) exit without doing so for it.
2003-01-02 18:38:07 +00:00
David Dawes ab9eb685c0 file i830_irq.c was initially added on branch mesa-4-0-4-branch. 2002-12-16 19:18:51 +00:00
David Dawes 05f761fa4f enums should be ints 2002-12-12 22:20:30 +00:00
Keith Whitwell 786228bd26 bring in jantorial changes from 2.5.51 2002-12-12 16:45:31 +00:00
Keith Whitwell fd621fd4a0 remove agpgart informational 2002-12-11 13:40:27 +00:00
Keith Whitwell b03fa556b2 Rewrite radeon_cp_dispatch_texture() to avoid pingponging back to userspace
when issue large (multi-buffer) uploads.
2002-12-06 12:22:43 +00:00
Eric Anholt a885d6786f Add vblank signal code for BSD DRM. Untested so far, but working with a
4.2.0 userland at least.
2002-12-06 02:27:30 +00:00
Michel Daenzer 85025d4f2a further vertical blank interrupt cleanups: remove unused variable,
non-ambiguous variable names, don't express subtraction in
    unnecessarily complicated ways
2002-12-04 15:39:53 +00:00
Michel Daenzer 4acba63bb7 vertical blank interrupt cleanups: use spinlock instead of semaphore, send
signal directly from interrupt handler instead of using a taskqueue
    (based on feedback by Linus Torvalds)
2002-12-03 00:43:47 +00:00
Michel Daenzer 40891ac190 vertical blank ioctl can send signal instead of blocking 2002-11-30 14:24:07 +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