profile/ivi/libdrm.git
21 years ago2.5.x sync patch from Linus Torvalds
Keith Whitwell [Sat, 26 Apr 2003 21:33:44 +0000 (21:33 +0000)]
2.5.x sync patch from Linus Torvalds

21 years agomove prototypes for gamma functions to gamma_drv.h
Keith Whitwell [Sat, 26 Apr 2003 21:22:08 +0000 (21:22 +0000)]
move prototypes for gamma functions to gamma_drv.h

21 years agoRemove #if 0'd code
Keith Whitwell [Sat, 26 Apr 2003 21:21:36 +0000 (21:21 +0000)]
Remove #if 0'd code

21 years agoReplace the C atomic_cmpset_int compatibility function for -stable with the
Eric Anholt [Sat, 26 Apr 2003 06:53:22 +0000 (06:53 +0000)]
Replace the C atomic_cmpset_int compatibility function for -stable with the
    real i386 atomic_cmpset_int from -current. FreeBSD-stable won't ever
    have DRM support for non-i386.

21 years agoDisable MTRRs on FreeBSD-stable. Without this, it hangs on boot in the MTRR
Eric Anholt [Sat, 26 Apr 2003 06:39:55 +0000 (06:39 +0000)]
Disable MTRRs on FreeBSD-stable. Without this, it hangs on boot in the MTRR
    setting for AGP cards on SMP machines.

21 years agoFix potential oops and memory leaks when allocations fail in
Leif Delgass [Fri, 25 Apr 2003 19:42:47 +0000 (19:42 +0000)]
Fix potential oops and memory leaks when allocations fail in
    addbufs_agp/pci. Add support for buffer private structs with PCI DMA
    buffers. Also some debug format string fixes.

21 years agoMerge from FreeBSD-current.
Eric Anholt [Fri, 25 Apr 2003 02:27:21 +0000 (02:27 +0000)]
Merge from FreeBSD-current.

21 years agoTargets for building dristat and drmstat.
David Dawes [Fri, 25 Apr 2003 00:57:42 +0000 (00:57 +0000)]
Targets for building dristat and drmstat.

21 years agoClean up the DRM_COPY_TO_USER()ing of DRM(infobufs), making it more
Eric Anholt [Fri, 25 Apr 2003 00:02:14 +0000 (00:02 +0000)]
Clean up the DRM_COPY_TO_USER()ing of DRM(infobufs), making it more
    legible.

21 years agoClean up the style of the linux-compat code and use ioctl() directly rather
Eric Anholt [Thu, 24 Apr 2003 23:57:29 +0000 (23:57 +0000)]
Clean up the style of the linux-compat code and use ioctl() directly rather
    than reimplementing it.

21 years agoPass dma handle from pci_alloc_consistent to the card for status page,
Leif Delgass [Thu, 24 Apr 2003 23:18:33 +0000 (23:18 +0000)]
Pass dma handle from pci_alloc_consistent to the card for status page,
    rather than using virt_to_bus() on the virtual address.

21 years agoRemove more gamma DMA infrastructure. Most of this code was copied straight
Eric Anholt [Thu, 24 Apr 2003 19:09:55 +0000 (19:09 +0000)]
Remove more gamma DMA infrastructure. Most of this code was copied straight
    from linux, so it could be added back if some driver needed it in the
    future.

21 years agoRemove unused dev->map_count. We always iterate the maplist with
Leif Delgass [Thu, 24 Apr 2003 16:55:22 +0000 (16:55 +0000)]
Remove unused dev->map_count. We always iterate the maplist with
    list_for_each() and the count is not updated or used for stats.

21 years agoMinor cleanups for dri/drmstat test progs (Both still need targets for new
Leif Delgass [Thu, 24 Apr 2003 16:47:32 +0000 (16:47 +0000)]
Minor cleanups for dri/drmstat test progs (Both still need targets for new
    Makefile)

21 years agoRemove unused variables
Leif Delgass [Thu, 24 Apr 2003 15:29:30 +0000 (15:29 +0000)]
Remove unused variables

21 years agoMove the debug versions of the DRM memory functions to a new file and
Keith Whitwell [Thu, 24 Apr 2003 10:02:18 +0000 (10:02 +0000)]
Move the debug versions of the DRM memory functions to a new file and
    implement non-debug ones as standard.

21 years agoRemove #if 0'd code and some unused string functions
Keith Whitwell [Thu, 24 Apr 2003 09:41:33 +0000 (09:41 +0000)]
Remove #if 0'd code and some unused string functions

21 years agoRemove more gamma DMA code. This isn't all of it, but it's a major portion.
Eric Anholt [Thu, 24 Apr 2003 06:19:54 +0000 (06:19 +0000)]
Remove more gamma DMA code. This isn't all of it, but it's a major portion.

21 years agoMove some common code from addbufs_<type> to addbufs. Make buf_alloc be
Eric Anholt [Thu, 24 Apr 2003 05:56:44 +0000 (05:56 +0000)]
Move some common code from addbufs_<type> to addbufs. Make buf_alloc be
    protected by the count_lock and make it non-atomic.

21 years agoRemove the ioctl_count variable from the device. A reference is held to the
Eric Anholt [Thu, 24 Apr 2003 05:14:05 +0000 (05:14 +0000)]
Remove the ioctl_count variable from the device. A reference is held to the
    fp throughout the ioctl syscall, so the device can't be closed out from
    under us.

21 years agoRemove a bunch of dead code and fix spelling of a couple of comments.
Eric Anholt [Thu, 24 Apr 2003 04:50:07 +0000 (04:50 +0000)]
Remove a bunch of dead code and fix spelling of a couple of comments.

21 years agoSingle/dual rasterizer quiescence patch for the glint/gamma DRI driver
David Dawes [Thu, 24 Apr 2003 03:01:40 +0000 (03:01 +0000)]
Single/dual rasterizer quiescence patch for the glint/gamma DRI driver
    (#5685, Sven Luther).

21 years agobreak long line
David Dawes [Thu, 24 Apr 2003 02:56:06 +0000 (02:56 +0000)]
break long line

21 years agoMove one definition to drm_drv.h and remove the rest of drm_init.h which
Eric Anholt [Thu, 24 Apr 2003 00:46:03 +0000 (00:46 +0000)]
Move one definition to drm_drv.h and remove the rest of drm_init.h which
    was all unused.

21 years agoRemove DRM_DMA_HISTOGRAM and associated code.
Eric Anholt [Thu, 24 Apr 2003 00:37:35 +0000 (00:37 +0000)]
Remove DRM_DMA_HISTOGRAM and associated code.

21 years agoMake DRM(read) and DRM(poll) stubs and remove DRM(write) and
Eric Anholt [Thu, 24 Apr 2003 00:25:36 +0000 (00:25 +0000)]
Make DRM(read) and DRM(poll) stubs and remove DRM(write) and
    DRM(write_string). This is the first part of removing much of the
    support code for gamma from the BSD DRM, since it appears that no new
    drivers are using it and nobody has ever shown interest in gamma on
    BSD.

21 years agoInstall dummy/noop read & poll fops unless the driver has replacements.
Keith Whitwell [Wed, 23 Apr 2003 23:42:29 +0000 (23:42 +0000)]
Install dummy/noop read & poll fops unless the driver has replacements.

21 years agodeal correctly with read() from the DRM failing
Michel Daenzer [Wed, 23 Apr 2003 14:21:17 +0000 (14:21 +0000)]
deal correctly with read() from the DRM failing

21 years agoget rid of superfluous fields in struct drm_radeon_ring_buffer
Michel Daenzer [Tue, 22 Apr 2003 21:45:06 +0000 (21:45 +0000)]
get rid of superfluous fields in struct drm_radeon_ring_buffer
use correct address for ring read pointer writeback (yes, we seem to have
    been running with bogus values for the ring read pointer, which
    'worked' because the return value of radeon_wait_ring() is never
    checked and the ring usually never fills up)

21 years agoRemove AGP dependency in kernel config for radeon, sis. Remove
Leif Delgass [Tue, 22 Apr 2003 21:30:24 +0000 (21:30 +0000)]
Remove AGP dependency in kernel config for radeon, sis. Remove
    PCIGART_ENABLED define for radeon, pcigart support now included for any
    arch.

21 years agoOnly mga, i810, i830 require AGP (should mga define __MUST_HAVE_AGP?)
Leif Delgass [Tue, 22 Apr 2003 19:42:27 +0000 (19:42 +0000)]
Only mga, i810, i830 require AGP (should mga define __MUST_HAVE_AGP?)

21 years agochange PREINSTALL/POSTINSTALL/UNINSTALL irq code to real functions as per
Alan Hourihane [Tue, 22 Apr 2003 12:52:17 +0000 (12:52 +0000)]
change PREINSTALL/POSTINSTALL/UNINSTALL irq code to real functions as per
    the other drivers

21 years agoremove unused variable
Alan Hourihane [Tue, 22 Apr 2003 12:42:22 +0000 (12:42 +0000)]
remove unused variable

21 years agofix gamma headers
Alan Hourihane [Tue, 22 Apr 2003 12:41:16 +0000 (12:41 +0000)]
fix gamma headers

21 years agoRename drm_lists.h to gamma_lists.h
Keith Whitwell [Tue, 22 Apr 2003 12:14:59 +0000 (12:14 +0000)]
Rename drm_lists.h to gamma_lists.h

21 years agonew file
Keith Whitwell [Tue, 22 Apr 2003 12:07:43 +0000 (12:07 +0000)]
new file

21 years agoMove the excitingly named DRM(flush_block_and_flush) and friends to
Keith Whitwell [Tue, 22 Apr 2003 12:07:24 +0000 (12:07 +0000)]
Move the excitingly named DRM(flush_block_and_flush) and friends to
    gamma-specific code.
Fix templates so i8x0 drivers don't have to define __HAVE_DMA_WAITLIST.

21 years agoremove unused __HAVE_KERNEL_CTX_SWITCH code
Keith Whitwell [Tue, 22 Apr 2003 11:39:34 +0000 (11:39 +0000)]
remove unused __HAVE_KERNEL_CTX_SWITCH code

21 years agoMove a chunk of gamma-specific code out of drm_dma.h. Remove unused
Keith Whitwell [Tue, 22 Apr 2003 11:31:55 +0000 (11:31 +0000)]
Move a chunk of gamma-specific code out of drm_dma.h. Remove unused
    'DRM_FLAG_NOCTX' option.

21 years agoremove unused dma histogram code
Keith Whitwell [Tue, 22 Apr 2003 10:18:29 +0000 (10:18 +0000)]
remove unused dma histogram code

21 years agoMove a bunch of gamma-specific code into a gamma-specific file. Restore the
Keith Whitwell [Tue, 22 Apr 2003 10:13:14 +0000 (10:13 +0000)]
Move a bunch of gamma-specific code into a gamma-specific file. Restore the
    kooky DRM(write_string) code for gamma.

21 years agoadd more get_param queries for embedded project
Keith Whitwell [Tue, 22 Apr 2003 09:49:14 +0000 (09:49 +0000)]
add more get_param queries for embedded project

21 years agoremove DRM read, poll and write_string
Keith Whitwell [Tue, 22 Apr 2003 08:06:14 +0000 (08:06 +0000)]
remove DRM read, poll and write_string

21 years agoCheck for NULL map before calling DRM(ioremapfree) on cleanup. Prevents an
Leif Delgass [Mon, 21 Apr 2003 16:07:17 +0000 (16:07 +0000)]
Check for NULL map before calling DRM(ioremapfree) on cleanup. Prevents an
    oops if a map wasn't found (e.g. XFree86 Bugzilla #108)

21 years agoAdd a Kconfig file as used in recent 2.5.x kernels.
David Dawes [Thu, 17 Apr 2003 18:52:05 +0000 (18:52 +0000)]
Add a Kconfig file as used in recent 2.5.x kernels.

21 years agoMake Config.in look more like a recent 2.4.x kernel version.
David Dawes [Thu, 17 Apr 2003 18:48:06 +0000 (18:48 +0000)]
Make Config.in look more like a recent 2.4.x kernel version.

21 years agoRework the Linux drm kernel module build to leverage off the standard
David Dawes [Thu, 17 Apr 2003 18:44:38 +0000 (18:44 +0000)]
Rework the Linux drm kernel module build to leverage off the standard
    kernel build system. This is based on suggestions and examples from
    David Woodhouse. This approach has the advantage that the build
    requirements of a wider range of standard kernels are now supported
    transparently, but the disadvantage of some extra complexity to handle
    building against clean vendor-distributed kernel source trees. This has
    been tested with some recent Red Hat and SuSE distributions.

21 years agoBring some drm module changes over from the XFree86 trunk:
David Dawes [Thu, 17 Apr 2003 18:41:28 +0000 (18:41 +0000)]
Bring some drm module changes over from the XFree86 trunk:
- Reset 'bound' flag for an agp entry after undbind succeeded in
    drm_agpsupport.h (Egbert Eich).
- Ignore hw_lock for drm device if lock was set by a different instance (ie
    Xserver) to prevent second server from spinning in driver release
    function (currently only relevant for i8xx drm drivers) (David Dawes).
- Use the agpgart "key" for the unique handle for bindings rather than the
    memory address (the key is guaranteed to be unique) (David Dawes).

21 years agoFix DRM module build on 2.5.41 and later kernels (tqueue -> workqueue).
David Dawes [Thu, 17 Apr 2003 15:27:34 +0000 (15:27 +0000)]
Fix DRM module build on 2.5.41 and later kernels (tqueue -> workqueue).

21 years agofile drm_pci.h was initially added on branch mach64-0-0-5-branch.
Jose Fonseca [Thu, 10 Apr 2003 14:58:53 +0000 (14:58 +0000)]
file drm_pci.h was initially added on branch mach64-0-0-5-branch.

21 years agofile mach64_drv.c was initially added on branch mach64-0-0-6-branch.
Eric Anholt [Tue, 8 Apr 2003 04:43:29 +0000 (04:43 +0000)]
file mach64_drv.c was initially added on branch mach64-0-0-6-branch.

21 years agofile Makefile was initially added on branch mach64-0-0-6-branch.
Eric Anholt [Tue, 8 Apr 2003 04:23:49 +0000 (04:23 +0000)]
file Makefile was initially added on branch mach64-0-0-6-branch.

21 years agofile drm_linux_list.h was initially added on branch mach64-0-0-6-branch.
Eric Anholt [Tue, 8 Apr 2003 04:09:47 +0000 (04:09 +0000)]
file drm_linux_list.h was initially added on branch mach64-0-0-6-branch.

21 years agoUse list_entry() to get container struct from struct list_head pointers.
Leif Delgass [Tue, 8 Apr 2003 01:30:43 +0000 (01:30 +0000)]
Use list_entry() to get container struct from struct list_head pointers.
    Build fix for RedHat 9 kernel (5 args to remap_page_range()).

21 years agoadd 'SG' map type identifier string (pci scatter/gather) to /proc vm info
Leif Delgass [Sat, 5 Apr 2003 19:49:16 +0000 (19:49 +0000)]
add 'SG' map type identifier string (pci scatter/gather) to /proc vm info

21 years agoWhitespace and remove a dead commented line.
Eric Anholt [Tue, 1 Apr 2003 18:53:24 +0000 (18:53 +0000)]
Whitespace and remove a dead commented line.

21 years agoWarning fix (use %p format for filp)
Leif Delgass [Mon, 31 Mar 2003 04:14:35 +0000 (04:14 +0000)]
Warning fix (use %p format for filp)

21 years agoSpelling fixes in comments.
Eric Anholt [Sun, 30 Mar 2003 07:23:03 +0000 (07:23 +0000)]
Spelling fixes in comments.
Submitted by: Linus Torvalds <torvalds@transmeta.com>

21 years agoRemove dead vma code and remove the unused devstate struct definition.
Eric Anholt [Sat, 29 Mar 2003 18:22:28 +0000 (18:22 +0000)]
Remove dead vma code and remove the unused devstate struct definition.

21 years agoAdd DRMFILE definitions and supply filp for BSD in the
Eric Anholt [Sat, 29 Mar 2003 03:38:47 +0000 (03:38 +0000)]
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.

21 years agobuf->filp is a pointer, so make printf format args be %p not %d
Eric Anholt [Sat, 29 Mar 2003 03:30:21 +0000 (03:30 +0000)]
buf->filp is a pointer, so make printf format args be %p not %d

21 years agomerged drm-filp-0-1-branch
Keith Whitwell [Fri, 28 Mar 2003 14:27:37 +0000 (14:27 +0000)]
merged drm-filp-0-1-branch

21 years agoAdd 2nd arg for DRM_FREE
Keith Whitwell [Wed, 26 Mar 2003 16:37:47 +0000 (16:37 +0000)]
Add 2nd arg for DRM_FREE

21 years agolinux merge for drm
Alan Hourihane [Tue, 25 Mar 2003 11:36:43 +0000 (11:36 +0000)]
linux merge for drm

21 years agoXFree86 4.3.0 merge
Alan Hourihane [Tue, 25 Mar 2003 00:29:14 +0000 (00:29 +0000)]
XFree86 4.3.0 merge

21 years agoMerge back from FreeBSD-current, adding FreeBSD ID tags to aid future
Eric Anholt [Tue, 11 Mar 2003 20:51:28 +0000 (20:51 +0000)]
Merge back from FreeBSD-current, adding FreeBSD ID tags to aid future
    merging. Also includes an update to radeon PCI IDs.

21 years agoMake dma_addr_t an unsigned long not a uint32, don't try to use memrange
Eric Anholt [Sat, 8 Mar 2003 05:05:41 +0000 (05:05 +0000)]
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.

21 years agoRemove the vbl signal code because it's untested (and has lock issues on
Eric Anholt [Thu, 6 Mar 2003 19:21:23 +0000 (19:21 +0000)]
Remove the vbl signal code because it's untested (and has lock issues on
    -current).

21 years agoPut cdevsw initialization in line with FreeBSD-current. (From r1.10,r1.11
Eric Anholt [Wed, 5 Mar 2003 06:06:27 +0000 (06:06 +0000)]
Put cdevsw initialization in line with FreeBSD-current. (From r1.10,r1.11
    of FreeBSD CVS)

21 years agoUpdate mmap handling for FreeBSD-current (Based on r1.3 of FreeBSD CVS).
Eric Anholt [Wed, 5 Mar 2003 06:04:50 +0000 (06:04 +0000)]
Update mmap handling for FreeBSD-current (Based on r1.3 of FreeBSD CVS).

21 years agoRemove a paste-o in DRM_SPINUNINIT and add a volatile to the compatibility
Eric Anholt [Wed, 5 Mar 2003 04:14:52 +0000 (04:14 +0000)]
Remove a paste-o in DRM_SPINUNINIT and add a volatile to the compatibility
    atomic_cmpset_int.

21 years agoDRM_FREE/2 patch from Philip Brown
Keith Whitwell [Tue, 4 Mar 2003 11:41:12 +0000 (11:41 +0000)]
DRM_FREE/2 patch from Philip Brown

21 years agofile savage_drv.h was initially added on branch savage-0-0-1-branch.
Jose Fonseca [Sun, 2 Mar 2003 21:44:26 +0000 (21:44 +0000)]
file savage_drv.h was initially added on branch savage-0-0-1-branch.

21 years agofile savage_drm.h was initially added on branch savage-0-0-1-branch.
Jose Fonseca [Sun, 2 Mar 2003 21:44:26 +0000 (21:44 +0000)]
file savage_drm.h was initially added on branch savage-0-0-1-branch.

21 years agofile savage_bci.c was initially added on branch savage-0-0-1-branch.
Jose Fonseca [Sun, 2 Mar 2003 21:44:26 +0000 (21:44 +0000)]
file savage_bci.c was initially added on branch savage-0-0-1-branch.

21 years agoUpdate object targets
Leif Delgass [Fri, 28 Feb 2003 19:39:46 +0000 (19:39 +0000)]
Update object targets

21 years agofile savage_drv.c was initially added on branch savage-0-0-1-branch.
Jose Fonseca [Thu, 27 Feb 2003 12:52:42 +0000 (12:52 +0000)]
file savage_drv.c was initially added on branch savage-0-0-1-branch.

21 years agofile savage.h was initially added on branch savage-0-0-1-branch.
Jose Fonseca [Thu, 27 Feb 2003 12:52:42 +0000 (12:52 +0000)]
file savage.h was initially added on branch savage-0-0-1-branch.

21 years agofile mach64_irq.c was initially added on branch mach64-0-0-6-branch.
Leif Delgass [Wed, 26 Feb 2003 09:49:54 +0000 (09:49 +0000)]
file mach64_irq.c was initially added on branch mach64-0-0-6-branch.

21 years agoFix build on NetBSD.
Eric Anholt [Sat, 22 Feb 2003 18:40:12 +0000 (18:40 +0000)]
Fix build on NetBSD.

21 years agoMerge from bsd-4-0-0-branch.
Eric Anholt [Fri, 21 Feb 2003 23:23:09 +0000 (23:23 +0000)]
Merge from bsd-4-0-0-branch.

21 years agofile mach64_drm.h was initially added on branch mach64-0-0-6-branch.
Eric Anholt [Sun, 16 Feb 2003 19:03:04 +0000 (19:03 +0000)]
file mach64_drm.h was initially added on branch mach64-0-0-6-branch.

21 years agofile mach64_state.c was initially added on branch mach64-0-0-6-branch.
Eric Anholt [Sun, 16 Feb 2003 19:03:04 +0000 (19:03 +0000)]
file mach64_state.c was initially added on branch mach64-0-0-6-branch.

21 years agofile mach64_drv.h was initially added on branch mach64-0-0-6-branch.
Eric Anholt [Sun, 16 Feb 2003 19:03:04 +0000 (19:03 +0000)]
file mach64_drv.h was initially added on branch mach64-0-0-6-branch.

21 years agofile mach64_dma.c was initially added on branch mach64-0-0-6-branch.
Eric Anholt [Sun, 16 Feb 2003 19:03:04 +0000 (19:03 +0000)]
file mach64_dma.c was initially added on branch mach64-0-0-6-branch.

21 years agofile mach64.h was initially added on branch mach64-0-0-6-branch.
Eric Anholt [Sun, 16 Feb 2003 19:03:04 +0000 (19:03 +0000)]
file mach64.h was initially added on branch mach64-0-0-6-branch.

21 years agoreclaim DMA buffers in DRIVER_RELEASE() (Felix Kühling)
Michel Daenzer [Sat, 8 Feb 2003 18:02:02 +0000 (18:02 +0000)]
reclaim DMA buffers in DRIVER_RELEASE() (Felix Kühling)

21 years agofix EAGAIN handling in radeon_cp_dispatch_texture() (fixes corruption of
Michel Daenzer [Thu, 6 Feb 2003 18:20:00 +0000 (18:20 +0000)]
fix EAGAIN handling in radeon_cp_dispatch_texture() (fixes corruption of
    large textures), and get rid of superfluous local y variable

21 years agodisable strict aliasing for building the DRM
Michel Daenzer [Tue, 4 Feb 2003 19:28:52 +0000 (19:28 +0000)]
disable strict aliasing for building the DRM

21 years agofix PCI and AGP posting problems (based on testing by Chris Ison and
Michel Daenzer [Tue, 4 Feb 2003 19:20:18 +0000 (19:20 +0000)]
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

21 years agoonly acknowledge interrupts we handle - others could be used outside the
Michel Daenzer [Tue, 4 Feb 2003 15:56:37 +0000 (15:56 +0000)]
only acknowledge interrupts we handle - others could be used outside the
    DRM

21 years agoFix size of VERTEX2 ioctl struct (Egbert Eich)
Keith Whitwell [Mon, 3 Feb 2003 14:30:32 +0000 (14:30 +0000)]
Fix size of VERTEX2 ioctl struct (Egbert Eich)

21 years agodon't inflate relative vblank sequence numbers on repeated calls (e.g. when
Michel Daenzer [Sun, 2 Feb 2003 03:06:47 +0000 (03:06 +0000)]
don't inflate relative vblank sequence numbers on repeated calls (e.g. when
    interrupted by a signal)

21 years agoAdd cast to avoid void * arithmetic warning
Leif Delgass [Sun, 26 Jan 2003 22:25:35 +0000 (22:25 +0000)]
Add cast to avoid void * arithmetic warning

21 years agoFix build on -current: Provide M_WAITOK define.
Eric Anholt [Fri, 24 Jan 2003 00:49:15 +0000 (00:49 +0000)]
Fix build on -current: Provide M_WAITOK define.

21 years agoFix radeon for BSD.
Eric Anholt [Thu, 16 Jan 2003 06:20:44 +0000 (06:20 +0000)]
Fix radeon for BSD.

21 years agolimit number of pending vblank signals to 100 to prevent DoS, and minor
Michel Daenzer [Sat, 11 Jan 2003 20:58:20 +0000 (20:58 +0000)]
limit number of pending vblank signals to 100 to prevent DoS, and minor
    cleanups

21 years agofile agp_30_symbols.h was initially added on branch agpgart_2_0_branch.
Jeff Hartmann [Sat, 11 Jan 2003 05:42:37 +0000 (05:42 +0000)]
file agp_30_symbols.h was initially added on branch agpgart_2_0_branch.

21 years agoNote that radeon_do_cp_idle() can fail, cope with it.
Keith Whitwell [Fri, 10 Jan 2003 17:04:21 +0000 (17:04 +0000)]
Note that radeon_do_cp_idle() can fail, cope with it.

21 years ago[TRIVIAL] [TRIVIAL PATCH 2.5.48] Remove unused function from radeon_mem.c
Rik Faith [Mon, 6 Jan 2003 07:38:25 +0000 (07:38 +0000)]
[TRIVIAL] [TRIVIAL PATCH 2.5.48] Remove unused function from radeon_mem.c
    Submitted by Rusty Trivial Russell