Age | Commit message (Collapse) | Author |
|
This driver is a very thin wrapper for doling out memory to userland,
everything else is handled by the userland drivers, therefore I really
want to rewrite this driver before even thinking about enabling it,
userland mapping graphics registers makes it hard for me to sleep at
night.
Anyway, remove a huge pile of scary code by switching the memory
allocation ioctls to user the drm_heap.c code instead of the very
complicated mess that it uses right now, probably saves some space, too.
Turns out linux made some similar (but far from identical) changes ages ago,
They did more, that may come later.
|
|
interface as drm_mem_release() and drm_mem_takedown() respectively.
While this interface's days are numbered, I'm about to make another
driver use it to remove even worse code.
Roll on memory management...
|
|
Fix prodded and checked by jmc@, thanks.
|
|
if we fail while assembling the dmamap due to the memory not fitting
into our constraints we'll return from the function with the iomap still
loaded, and more importantly with memory still allocated from the
extent(9). So in such a case, make sure we clean up after outselves.
In order to make this cleaner, remove an impossible condition check
(kettenis and myself are satisfied that it will never happen), and make
iomap_load_map void (it can't fail), so that we can only fail after both
the extent is allocated and the iomap is loaded, and not inbetween the
two.
I tested iommu, kettenis tested viommu.
ok kettenis@.
|
|
Pointed by jmc@.
|
|
ok millert@
|
|
faster that way. tested by myself. discussed w/ & ok miod@, millert@
|
|
while there's io pending (async io makes that possible, but not often
hit), then we'll be waiting for the pgo_releasepg hook to free the
object when all of our pages disappear.
However, uvn_releasepg, while it does everything else that unreferencing
the object would do, it neglects to do the final vrele() on the vnode.
So in this rare situation we'd end up with the vnode waiting around
until it was forcibly recycled. Fix this by adding in the missing vrele().
ok thib@
|
|
|
|
ok miod
|
|
it away. ok miod@
|
|
|
|
prevents smtpctl from choking and allows it to work with more mua's by
default.
spotted and added to my todo list by oga@
|
|
have the exit code indicate failure, not success.
Discrepancy with GNU patch pointed out by Arfrever Frehtes Taifersar Arahesis.
Help from and ok djm@, "sounds good to me" millert@
|
|
the drm softc, we only have one pointer, with the rest in that struct. This is
so that vblank-less drivers (yes, they exist) don't need to waste space on
useless crud.
While i'm reworking most of this code anyway, accept that on openbsd all
of the #defined atomic functions are not atomic other than set and clear
bit. Also, realise that the vb_lock is held whenever we manipulate these
counts anyway. With those two facts in mind just remove the
atomic_blah() and just use ++ and --.
|
|
- while here; also accept %F
fixes devel/libconfuse on gcc2 archs
tested by naddy@ on VAX
"no objection" miod@
|
|
|
|
guarrantee that copyin won't pagefault and use a faster version in that
case.
Since we just use plain copyin, it's stupid.
|
|
provides, while keeping this behaviour for extent_print_all() which is
only called by ddb. Based on a diff from deraadt@.
|
|
t5120 and similar systems boot from our install CD-ROM.
|
|
breaking vblanks over suspend.
Firstly, when we turn off the irq, wait up anyone waiting on vblanks,
and prepare for the fact that interrupts are going off.
Secondly, only reduce the refcount for vblanks over modeset if they were
actually turned on.
Fixes gl apps running while you suspend an x40 (as in they still work
when it comes back).
|
|
sectors at runtime instead of constantly converting the sector values
in the label to blocks. Adjust names accordingly. No functional change.
|
|
SiS chipset that we'll never see on and amd64 machine.
ok oga@
|
|
deiline drm_core_findmap(), and merge drm_core_ioremap{,free}() into
drm_ioremap{,free}() instead of having an inline that just calls another
function.
|
|
|
|
loading the raw memory into.
similair to the change made to src/sys/arch/amd64/amd6/bus_dma.c 1.18
|
|
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.
|
|
affected by adjusting the clock.
|
|
That way, you can edit the new domain Makefile before using it,
in particular to change variables like DIR and UNSECURE.
from ajacoutot@ with message tweaks and documentation updates by myself
"I like this" otto@
|
|
|
|
|
|
this option is needed so gnu cvs clients can play along
properly when running checkout <module> in a remote setup.
if we do not support this, gnu cvs refuses to send us any
existing files already on disk and opencvs will consider everything
as NEEDS_CHECKOUT, instead of running an update on existing stuff.
problem noticed by fgsch@
commited with opencvs, but please everybody else
do not use opencvs to commit yet.
|
|
|
|
Reported by Kamil Mielcarek
|
|
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.
|
|
- don't mix use of const and non-const pointers
problem noted by Jordi Beltran Creix on tech@
|
|
new labels.
|
|
sthen likes it
|
|
code that wasnt suppose to dissapear:
for uptodate files, we want to compare rev1 against
file_rcsrev to see if we wish to diff or not. saves a bit off logic.
commited with opencvs,
permission by deraadt@
|
|
|
|
|
|
|
|
dying as soon as I can make it doesn't mean I shouldn't be able to look
at it in the meantime.
|
|
kill the compat define. Should have done this ages ago.
|
|
|
|
|
|
|
|
|
|
|
|
ago.
|