Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-04-26 | Fix formatting of hw.dri sysctl. | Eric Anholt | |
2003-04-26 | Remove the map argument from DRM_*MEMORYBARRIER. Not all of the uses of | Eric Anholt | |
DRM_*MEMORYBARRIER we had were related to an MMIO space. This means arch-specific code on the BSDs, unfortunately. Also add DRM_MEMORYBARRIER() and change the DRM_READMEMORYBARRIER()s that used to be read/write barriers to it. | |||
2003-04-26 | MFL: Don't install irq handler unless the driver has been initialized. | Eric Anholt | |
2003-04-26 | Add PCI DMA memory functions and make addbufs_pci and associated code use | Eric Anholt | |
it. To do this we need to save the bus address along with the virtual address in the seglist. Also fix some error handling and a few bits of whitespace. | |||
2003-04-26 | Ensure driver has been initialized (dev_private != NULL) before installing | Leif Delgass | |
irq handler in DRM(irq_install). Modify all drivers to ensure irq handler is removed before cleanup and cleanup is called at takedown. Remove unused buffer private struct fields in i810, i830. Check for lock on init/cleanup in all drivers except i810/i830. The current DDX for i810 and i830 doesn't hold the lock on kernel init (FIXME?). | |||
2003-04-26 | Missed files in the last commit: Remove memory debugging sysctl unless | Eric Anholt | |
MEMORY_DEBUG is set. | |||
2003-04-26 | Move the memory functions with debugging info to drm_memory_debug.h, and | Eric Anholt | |
remove a couple of dead functions. | |||
2003-04-26 | Remove #if 0'ed code. | Eric Anholt | |
2003-04-26 | 2.5.x sync patch from Linus Torvalds | Keith Whitwell | |
2003-04-26 | move prototypes for gamma functions to gamma_drv.h | Keith Whitwell | |
2003-04-26 | Remove #if 0'd code | Keith Whitwell | |
2003-04-26 | Replace the C atomic_cmpset_int compatibility function for -stable with the | Eric Anholt | |
real i386 atomic_cmpset_int from -current. FreeBSD-stable won't ever have DRM support for non-i386. | |||
2003-04-26 | Disable MTRRs on FreeBSD-stable. Without this, it hangs on boot in the MTRR | Eric Anholt | |
setting for AGP cards on SMP machines. | |||
2003-04-25 | Fix potential oops and memory leaks when allocations fail in | Leif Delgass | |
addbufs_agp/pci. Add support for buffer private structs with PCI DMA buffers. Also some debug format string fixes. | |||
2003-04-25 | Merge from FreeBSD-current. | Eric Anholt | |
2003-04-25 | Targets for building dristat and drmstat. | David Dawes | |
2003-04-25 | Clean up the DRM_COPY_TO_USER()ing of DRM(infobufs), making it more | Eric Anholt | |
legible. | |||
2003-04-24 | Clean up the style of the linux-compat code and use ioctl() directly rather | Eric Anholt | |
than reimplementing it. | |||
2003-04-24 | Pass dma handle from pci_alloc_consistent to the card for status page, | Leif Delgass | |
rather than using virt_to_bus() on the virtual address. | |||
2003-04-24 | Remove more gamma DMA infrastructure. Most of this code was copied straight | Eric Anholt | |
from linux, so it could be added back if some driver needed it in the future. | |||
2003-04-24 | Remove unused dev->map_count. We always iterate the maplist with | Leif Delgass | |
list_for_each() and the count is not updated or used for stats. | |||
2003-04-24 | Minor cleanups for dri/drmstat test progs (Both still need targets for new | Leif Delgass | |
Makefile) | |||
2003-04-24 | Remove unused variables | Leif Delgass | |
2003-04-24 | Move the debug versions of the DRM memory functions to a new file and | Keith Whitwell | |
implement non-debug ones as standard. | |||
2003-04-24 | Remove #if 0'd code and some unused string functions | Keith Whitwell | |
2003-04-24 | Remove more gamma DMA code. This isn't all of it, but it's a major portion. | Eric Anholt | |
2003-04-24 | Move some common code from addbufs_<type> to addbufs. Make buf_alloc be | Eric Anholt | |
protected by the count_lock and make it non-atomic. | |||
2003-04-24 | Remove the ioctl_count variable from the device. A reference is held to the | Eric Anholt | |
fp throughout the ioctl syscall, so the device can't be closed out from under us. | |||
2003-04-24 | Remove a bunch of dead code and fix spelling of a couple of comments. | Eric Anholt | |
2003-04-24 | Single/dual rasterizer quiescence patch for the glint/gamma DRI driver | David Dawes | |
(#5685, Sven Luther). | |||
2003-04-24 | break long line | David Dawes | |
2003-04-24 | Move one definition to drm_drv.h and remove the rest of drm_init.h which | Eric Anholt | |
was all unused. | |||
2003-04-24 | Remove DRM_DMA_HISTOGRAM and associated code. | Eric Anholt | |
2003-04-24 | Make DRM(read) and DRM(poll) stubs and remove DRM(write) and | Eric Anholt | |
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. | |||
2003-04-23 | Install dummy/noop read & poll fops unless the driver has replacements. | Keith Whitwell | |
2003-04-23 | deal correctly with read() from the DRM failing | Michel Daenzer | |
2003-04-22 | get rid of superfluous fields in struct drm_radeon_ring_buffer | Michel Daenzer | |
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) | |||
2003-04-22 | Remove AGP dependency in kernel config for radeon, sis. Remove | Leif Delgass | |
PCIGART_ENABLED define for radeon, pcigart support now included for any arch. | |||
2003-04-22 | Only mga, i810, i830 require AGP (should mga define __MUST_HAVE_AGP?) | Leif Delgass | |
2003-04-22 | change PREINSTALL/POSTINSTALL/UNINSTALL irq code to real functions as per | Alan Hourihane | |
the other drivers | |||
2003-04-22 | remove unused variable | Alan Hourihane | |
2003-04-22 | fix gamma headers | Alan Hourihane | |
2003-04-22 | Rename drm_lists.h to gamma_lists.h | Keith Whitwell | |
2003-04-22 | new file | Keith Whitwell | |
2003-04-22 | Move the excitingly named DRM(flush_block_and_flush) and friends to | Keith Whitwell | |
gamma-specific code. Fix templates so i8x0 drivers don't have to define __HAVE_DMA_WAITLIST. | |||
2003-04-22 | remove unused __HAVE_KERNEL_CTX_SWITCH code | Keith Whitwell | |
2003-04-22 | Move a chunk of gamma-specific code out of drm_dma.h. Remove unused | Keith Whitwell | |
'DRM_FLAG_NOCTX' option. | |||
2003-04-22 | remove unused dma histogram code | Keith Whitwell | |
2003-04-22 | Move a bunch of gamma-specific code into a gamma-specific file. Restore the | Keith Whitwell | |
kooky DRM(write_string) code for gamma. | |||
2003-04-22 | add more get_param queries for embedded project | Keith Whitwell | |