Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-11-06 | Get r128 basically working: Hook up the driver's dma ioctl, use the proper | Eric Anholt | |
offset into the driver ioctl array, and don't make the ctx bitmap conditional. | |||
2004-11-06 | Commit WIP of BSD conversion to core model. Compiles for r128, radeon, but | Eric Anholt | |
doesn't run yet. Moves the ioctl definitions for these two drivers back to the shared code -- they aren't OS-specific. | |||
2004-01-06 | Fix some misuse of NULL where 0 is intended. | Eric Anholt | |
Obtained from: FreeBSD CVS | |||
2003-10-19 | - SMPng lock the DRM. This is only partial -- there are a few code paths | Eric Anholt | |
used by root (the X Server) which are not locked. However, it should deal with lost-IRQ issues on -current which I think people have been experiencing but I am unable to reproduce (though I understand why they would occur, because of a bug of mine). Note that most of the locking (DRM_LOCK()/UNLOCK()) is all covered by Giant still, so it doesn't matter yet. - Remove locking on FreeBSD-stable and NetBSD. These are covered by the fact that there is no reentrancy of the kernel except by interrupts, which are locked using spldrm()/splx() instead. | |||
2003-10-19 | Clean up extra zeroing of dev->dma, and use calloc to take advantage of | Eric Anholt | |
M_ZERO. | |||
2003-10-17 | - Move IRQ functions from drm_dma.h to new drm_irq.h and disentangle them | Eric Anholt | |
from __HAVE_DMA. This will be useful for adding vblank sync support to sis and tdfx. Rename dma_service to irq_handler, which is more accurately what it is. - Fix the #if _HAVE_DMA_IRQ in radeon, r128, mga, i810, i830, gamma to have the right number of underscores. This may have been a problem in the case that the server died without doing its DRM_IOCTL_CONTROL to uninit. | |||
2003-10-03 | Stylistic preparation for SMPng locking work: DRM_LOCK/DRM_UNLOCK have side | Eric Anholt | |
effects, so make them look like functions (add parenthesis). | |||
2003-10-02 | Mostly whitespace cleanups and style(9) fixes focused on "if(" -> "if (" | Eric Anholt | |
Change some nearby memset()s to bzero()s or to calloc allocations to take advantage of M_ZERO). Reverse some error tests to reduce high levels of indentation. Move the sg_cleanup() call out of the maplist loop in DRM(takedown)-- I can't see any need for it to be inside. | |||
2003-08-19 | - Remove $FreeBSD$ tags as they weren't too useful and merges are now being | Eric Anholt | |
done through perforce. - Add copyright headers to drm_os_*bsd.h, still need to research the other copyright-less files better. | |||
2003-07-29 | IRQ code cleanup suggested by Linus Torvalds | Michel Daenzer | |
i830 build fix | |||
2003-07-25 | Compile fixes for recent 2.5/2.6 Linux kernels. I hope this doesn't break | Michel Daenzer | |
the i830 driver or the BSDs. :) | |||
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-25 | Merge from FreeBSD-current. | Eric Anholt | |
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 more gamma DMA code. This isn't all of it, but it's a major portion. | Eric Anholt | |
2003-04-24 | Remove DRM_DMA_HISTOGRAM and associated code. | Eric Anholt | |
2003-03-29 | Add DRMFILE definitions and supply filp for BSD in the | Eric Anholt | |
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-11 | Merge back from FreeBSD-current, adding FreeBSD ID tags to aid future | Eric Anholt | |
merging. Also includes an update to radeon PCI IDs. | |||
2003-03-06 | Remove the vbl signal code because it's untested (and has lock issues on | Eric Anholt | |
-current). | |||
2003-03-04 | DRM_FREE/2 patch from Philip Brown | Keith Whitwell | |
2003-02-21 | Merge from bsd-4-0-0-branch. | Eric Anholt | |
2003-02-02 | don't inflate relative vblank sequence numbers on repeated calls (e.g. when | Michel Daenzer | |
interrupted by a signal) | |||
2002-12-06 | Add vblank signal code for BSD DRM. Untested so far, but working with a | Eric Anholt | |
4.2.0 userland at least. | |||
2002-10-29 | Use bus_alloc_resource/bus_release_resource more properly: save the rid | Eric Anholt | |
returned by alloc. | |||
2002-09-29 | Move os-dependent stuff out of radeon_irq.c | Keith Whitwell | |
2002-09-29 | Fix up BSD irq handling. | Eric Anholt | |
2002-09-26 | BSD vblank framework. | Eric Anholt | |
2002-07-05 | merged bsd-3-0-0-branch | Alan Hourihane | |
2002-03-11 | fixups for *BSD | Alan Hourihane | |
2002-03-06 | first pass at merging mesa 4.0 kernel drivers into new bsd-3-0-0 branch. | Alan Hourihane | |
2002-01-27 | Initial revision | David Dawes | |