Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-04-04 | Remove the three inline functions from drmP.h. | Owain Ainsworth | |
deiline drm_core_findmap(), and merge drm_core_ioremap{,free}() into drm_ioremap{,free}() instead of having an inline that just calls another function. | |||
2009-04-04 | Remove unused #include. | Mark Kettenis | |
2009-04-04 | make bus_dmamap_load_raw respect the constraints of the dmamap we're | David Gwynne | |
loading the raw memory into. similair to the change made to src/sys/arch/amd64/amd6/bus_dma.c 1.18 | |||
2009-04-04 | make bus_dmamap_load_raw respect teh constraints of the dmamap we're | David Gwynne | |
loading the raw memory into, particularly the segment size constraint. written in june/july last year, but my studies held me back from handling it. | |||
2009-04-04 | use time_uptime instead of time_second internally. time_uptime isnt | David Gwynne | |
affected by adjusting the clock. | |||
2009-04-04 | Cleanup debug printfs. | Mark Kettenis | |
2009-04-04 | Cleanup debug printf. | Mark Kettenis | |
2009-04-04 | scrub more fields in the ccb when returning them to the free list after | David Gwynne | |
theyve been used, in particular the mfi header flags which has a bit that specifies if a command should be completed via the interrupt path. if we use a ccb during boot we set that bit, but it isnt necessarily cleared by things that use it later on. this means a ccb we expected to complete via an interrupt never actually generates an interrupt or appears in the reply queue. this obviously stalls the io. | |||
2009-04-04 | - make sure codec->nsense_pins is initilized to 0 | Jacob Meuser | |
- don't mix use of const and non-const pointers problem noted by Jordi Beltran Creix on tech@ | |||
2009-04-03 | detypedef drm_local_map. | Owain Ainsworth | |
2009-04-03 | detypedef drm_device_dma_t. | Owain Ainsworth | |
2009-04-03 | detypedef drm_buf_entry_t too. | Owain Ainsworth | |
2009-04-03 | detypedef struct drm_buf from the dma_buffers api. Just because it's | Owain Ainsworth | |
dying as soon as I can make it doesn't mean I shouldn't be able to look at it in the meantime. | |||
2009-04-03 | Change a bunch of "printk" in commented out debug code into "printf" and | Owain Ainsworth | |
kill the compat define. Should have done this ages ago. | |||
2009-04-03 | More dead typdefs and defines. | Owain Ainsworth | |
2009-04-03 | dead function. | Owain Ainsworth | |
2009-04-03 | Dead prototype | Owain Ainsworth | |
2009-04-03 | unused type. | Owain Ainsworth | |
2009-04-03 | detypedef drm_pci_id_list_t. | Owain Ainsworth | |
2009-04-03 | Sprinkle some const correctness for the pciid lists. From mickey ages | Owain Ainsworth | |
ago. | |||
2009-04-03 | ${XORGNAME}_driver_irq_handler() is a stupid name for an interrupt | Owain Ainsworth | |
handler anyway. replace it with ${OpenBSD_driver_name}_intr like most of the rest of the tree. No functional change. | |||
2009-04-03 | More compat crud bites the dust: Remove the IRQ_NONE and IRQ_HANDLED | Owain Ainsworth | |
defines. 0 and 1 are fine for returning from irq handlers so why bother with the indirection? | |||
2009-04-03 | kill the stupid DRM_IRQ_ARGS macros and irqreturn_t typedef, switch to | Owain Ainsworth | |
the unmacroed/typedefed version. | |||
2009-04-03 | Remove dev->irq_lock, the drm_irq_handler_wrap irq handler, and remove | Owain Ainsworth | |
the dev->driver irq_handler member since we now don't need to know. Shaves a few bytes, and makes me happy. | |||
2009-04-03 | Final irq_lock piece. Switch inteldrm over like radeomdrm and the rest. | Owain Ainsworth | |
We already have a lock protecting the irq registers, so extend it trivially so it protects user interrupts too. Switch irq handler to purely local handler. Finally remove an extra test in i915_wait_irq() since we won't sleep even without that if the test will pass. irq_lock and handler_wrap may now die. Coming soon. | |||
2009-04-03 | Same as just done for machdrm, just convert us over to using our irq | Owain Ainsworth | |
handler directly, no fences to worry about right now. | |||
2009-04-03 | Convert machdrm to not have to user drm_irq_handler. Since the only | Owain Ainsworth | |
interrupt we provide is vblank, it's just switching the handler. knf while here. | |||
2009-04-03 | Same as just done for radeon. Add and use a lock for procecting against | Owain Ainsworth | |
races when waiting on fences, and use that in preference to irq_lock. Don't use drm_irq_handler_wrap() anymore for irq handler, just the mgadrm main irq handler. knf while here. | |||
2009-04-03 | Add a lock to protect races for the software interrupt on radeon chips | Owain Ainsworth | |
(vblank is already protected by that subsystem). Also, do all checks for the correct software interrupt having fired inside DRM_WAIT_ON(), since it won't sleep if it's already passed it doesn't gain us much (skips one lock grab). Finally, establish the interrupt with only the main radeon irq handler, don't bother with drm_irq_wrap. bunch of knf while i'm in here. | |||
2009-04-03 | use i915_pipe_enabled() to test to see if the pipe is lit up, instead of | Owain Ainsworth | |
expanding the function in line here. | |||
2009-04-03 | Convert DRM_WAIT_ON to take additional parameters, the wmsg for msleep, | Owain Ainsworth | |
and the lock to manipulate. first step of removing drm_irq_handler_wrap which just grabs the irq_lock, and eventually irq_lock. drivers should manage their own. | |||
2009-04-03 | Make sure that sys_reboot runs on the primary cpu. Won't hurt when not | Artur Grabowski | |
needed, but some machines seem to work much better with it. | |||
2009-04-03 | sched_peg_curproc_to_cpu() - function to force a proc to stay on a cpu | Artur Grabowski | |
forever. | |||
2009-04-03 | Fix SEM_UNDO handling for rthreads: use the struct process* instead | Philip Guenthe | |
of the struct proc* as the identifier for SEM_UNDO tracking and only call semexit() from the original thread, once the process as a whole is exiting ok tedu@ | |||
2009-04-03 | Cleanup. These definitions should have died when I removed the lock_time | Owain Ainsworth | |
member from the lock structure. | |||
2009-04-02 | Correct the writing to RING_RPTR_ADDR in the non agp case, should be a | Owain Ainsworth | |
hardware virtual address offset, not a physical one. From upstream. | |||
2009-04-02 | get rid of otus_phy_write(). | Damien Bergamini | |
unobfuscate things a bit. | |||
2009-04-02 | Convert lockmgr to rwlock. Fixing a (harmless) lock leak on attach | Owain Ainsworth | |
failure while i'm at it. Been in snaps for a while. ok deraadt@ | |||
2009-04-02 | Convert lockmgr to rwlock. Been in snaps for a while. | Owain Ainsworth | |
ok deraadt@ | |||
2009-04-02 | s/GWUSBMICRON/GWUSMICRON/ spotted by Fukaumi Naoki | Damien Bergamini | |
+ sort Corega entry | |||
2009-04-02 | sync | Damien Bergamini | |
2009-04-02 | s/GWUSBMICRON/GWUSMICRON/ | Damien Bergamini | |
spotted by Fukaumi Naoki | |||
2009-04-01 | bzero pci attach args | Mark Kettenis | |
2009-03-31 | These flags are bitmasks, not booleans. | Owain Ainsworth | |
Fix from upstream. | |||
2009-03-31 | bzero pci attach args | Mark Kettenis | |
2009-03-31 | On watchdog timeout reset the full chip. Just draining the tx ring is not | Claudio Jeker | |
enough to get the device unstuck. OK mglocker@ | |||
2009-03-31 | bzero pci attach args | Mark Kettenis | |
2009-03-31 | Backout previous change; it breaks more machines than it fixes. | Mark Kettenis | |
2009-03-31 | remove the drm_read and drm_write functions. instead just do the | Owain Ainsworth | |
conditional on whether we treat the data like memspace or system memory into the one driver that needs this. Something similar was done upstream a while back. | |||
2009-03-31 | - remove obsolete comment | Artur Grabowski | |
- remove dead (#if 0) code - move switch_error panics to after cpu_switchto to make branch prediction happier and the code more readable. no functional change |