Commit Graph

628 Commits (8621ae310b496a5d5db10236083f3f3d38362719)

Author SHA1 Message Date
David Dawes d1b7f551e6 Fix DRM module build on 2.5.41 and later kernels (tqueue -> workqueue). 2003-04-17 15:27:34 +00:00
Jose Fonseca 48e389f3a5 file drm_pci.h was initially added on branch mach64-0-0-5-branch. 2003-04-10 14:58:53 +00:00
Eric Anholt 244d4faa1d file mach64_drv.c was initially added on branch mach64-0-0-6-branch. 2003-04-08 04:43:29 +00:00
Eric Anholt 353c84d2dd file Makefile was initially added on branch mach64-0-0-6-branch. 2003-04-08 04:23:49 +00:00
Eric Anholt 12a52fd826 file drm_linux_list.h was initially added on branch mach64-0-0-6-branch. 2003-04-08 04:09:47 +00:00
Leif Delgass 10444e06d4 Use list_entry() to get container struct from struct list_head pointers.
Build fix for RedHat 9 kernel (5 args to remap_page_range()).
2003-04-08 01:30:43 +00:00
Leif Delgass 3f7769921b add 'SG' map type identifier string (pci scatter/gather) to /proc vm info 2003-04-05 19:49:16 +00:00
Eric Anholt 6f88a5351c Whitespace and remove a dead commented line. 2003-04-01 18:53:24 +00:00
Leif Delgass 8e51112fe0 Warning fix (use %p format for filp) 2003-03-31 04:14:35 +00:00
Eric Anholt 8926acac37 Spelling fixes in comments.
Submitted by: Linus Torvalds <torvalds@transmeta.com>
2003-03-30 07:23:03 +00:00
Eric Anholt aea0418d0d Remove dead vma code and remove the unused devstate struct definition. 2003-03-29 18:22:28 +00:00
Eric Anholt 6ef79263b6 Add DRMFILE definitions and supply filp for BSD in the
post-drm-filp-0-1-branch world. The filp is a void * cast from the
    current pid. This is a temporary solution which maintains the status
    quo until a proper solution is implemented.
What is really needed is a unique pointer per open, hopefully with a device
    private area. This can be done in FreeBSD for all entry points except
    mmap, but is difficult (sys/dev/streams/streams.c is an example). I
    have partially completed code for this but have not had time to debug,
    so this is a temporary fix.
2003-03-29 03:38:47 +00:00
Eric Anholt e27d2f8c7c buf->filp is a pointer, so make printf format args be %p not %d 2003-03-29 03:30:21 +00:00
Keith Whitwell 1728bc637d merged drm-filp-0-1-branch 2003-03-28 14:27:37 +00:00
Keith Whitwell 37cb114bd9 Add 2nd arg for DRM_FREE 2003-03-26 16:37:47 +00:00
Alan Hourihane b3eb34e0ea linux merge for drm 2003-03-25 11:36:43 +00:00
Alan Hourihane c14006ba9f XFree86 4.3.0 merge 2003-03-25 00:29:14 +00:00
Eric Anholt 0bd0dd2300 Merge back from FreeBSD-current, adding FreeBSD ID tags to aid future
merging. Also includes an update to radeon PCI IDs.
2003-03-11 20:51:28 +00:00
Eric Anholt 638d45d2a0 Make dma_addr_t an unsigned long not a uint32, don't try to use memrange
functions on FreeBSD non-x86, and remove a dead define.
2003-03-08 05:05:41 +00:00
Eric Anholt bf4b8ba753 Remove the vbl signal code because it's untested (and has lock issues on
-current).
2003-03-06 19:21:23 +00:00
Eric Anholt a01d26f39d Put cdevsw initialization in line with FreeBSD-current. (From r1.10,r1.11
of FreeBSD CVS)
2003-03-05 06:06:27 +00:00
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