summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-04-26add Logitech Webcam C500, ok sthen@Stephan A. Rickauer
2010-04-26Add some { } for better readability and to make the code look like theClaudio Jeker
other blocks in this function.
2010-04-26don't throw away exit status of various commands; ok sthen@ dcoppa@ halex@Otto Moerbeek
2010-04-26Fix some memory leaks on config reload failure and move one particularClaudio Jeker
cleanup loop to parse.y where it belongs. OK henning@
2010-04-26once sio_start() has been called, stream parameters cannot beJacob Meuser
changed until after sio_stop() is called ok ratchov@, jmc@
2010-04-26cut down simple locks (so simple that they don't even lock) to the pointTheo de Raadt
where there is almost nothing left to them, so that we can continue getting rid of them ok oga
2010-04-26clean up a bitRobert Nagy
2010-04-26more portable codeTheo de Raadt
2010-04-25Switch uao_list_lock protecting the uao list (for create, destroy andOwain Ainsworth
most importantly swapoff) over to a mutex. No idea how many times i've written this diff in the past. ok deraadt@
2010-04-25Argh, commited the wrong diff. This was the reversed test that found theOwain Ainsworth
libdrm bug recently. Correct to what was intended.
2010-04-25When querying if an object is busy, it is if it is marked active (beingOwain Ainsworth
accessed by the gpu or needing a flush). Since this implies that the object is wanted, emit the flush then to save time. Makes things a lot smoother than before in some GL applications, since before we were claiming that object needing a flush were unbusy so the next map stalled the gpu waiting on a flush. From daniel vetter on intel-gfx.
2010-04-25oops, kill unneeded write lock grabbing that got mixed in when resolvingOwain Ainsworth
conflicts.
2010-04-25A nice little performance speedup.Owain Ainsworth
If we just read access to some data that has been accessed by the gpu, only sleep until the end of the gpus last write (which we track). So instead of stalling the gpu until the last time accessed, both can read at the same time (which is allowed and coherent as long as the right invalidation happens). Since we check offsets from userland before we exec a batchbuffer, this helps 965 (with lots of read only relocations in the render path) quite a lot.
2010-04-25The locking rework/fix that I promised when I commited GEM.Owain Ainsworth
Before, as well as being kinda nasty there was a very definite race, if the last reference to an object was removed by uvm (a map going away), then the free path happened unlocked, this could cause all kinds of havoc. In order to deal with this, move to fine-grained locking. Since uvm object locks are spinlocks, and we need to sleep in operations that will wait on the gpu, provide a DRM_BUSY flag that is set on a locked object that then allows us to unlock and sleep (this is similar to several things done in uvm on pages and some object types). The rwlock stays around to ensure that execbuffer can have acces to the whole gtt, so ioctls that bind to the gtt need a read lock, and execuffer gets a write lock. otherwise most ioctls just need to busy the object that they operate on. Lists also have their own locks. Some cleanup could be done to make this a little prettier, but it is much more correct than previously. Tested very very vigorously on 855 (x40) and 965 (x61s), this found numerous bugs. Also, the I can no longer crash the kernel at will. A bunch of asserts hidden under DRMLOCKDEBUG have been left in the code for debugging purposes.
2010-04-25Don't bother binding the object in the gtt map ioctl.Owain Ainsworth
these maps tend to be fairly long lived so it buys us nothing other than code complexity.
2010-04-25Do not allow changing tiling mode on pinned objects.Owain Ainsworth
Since this means the necessary gtt alignment may change. Nothing did this already, so all it does it allows the code to be simpler. idea from Daniel Vetter.
2010-04-25Add infrastructure to build GCC 4.2.1 for OpenBSD/hppa.Mark Kettenis
2010-04-25Update various comments.Miod Vallat
2010-04-25Simplify the 6:1 pfsr extraction block: process data CMMU first, and do notMiod Vallat
bother zeroing fault registers of CMMU which did not report faults.
2010-04-25Add hppa support, loosely based on the existing GCC 3.3.5 support. Many bitsMark Kettenis
removed that are now unnecessary.
2010-04-25Add a tiled layout, originally from Liam Bedford a while ago, fixed upNicholas Marriott
by me.
2010-04-25If setting close-on-exec flag fails (can this happen?), the wrongAlexandre Ratchov
descriptor is closed. Fix from Alexandr Shadchin, together with various simplifications.
2010-04-25Fix the way sio_getcap() probes rates of audio(4) devices.Alexandre Ratchov
From Alexandr Shadchin <alexandr.shadchin at gmail.com> Good catch!
2010-04-25when probing for a encoding/channels/rate combination, ensure thatAlexandre Ratchov
play parameters are set only if playback is enabled, and record parameters are set only if recording is enabled. Fixes sun_getcap() on devices whose play and record parameters are not independent.
2010-04-25Do not include <machine/intr.h> from <sh/psl.h>, and fix <sh/cpu.h> whichMiod Vallat
used to depend on <sh/psl.h> bringing <machine/intr.h>.
2010-04-25Typo. Noticed by naddy@ who isn't around to commit it himself.Matthieu Herrb
2010-04-25Properly adjust group demotion counters when groups are added orMarco Pfatschbacher
removed. Extend carp demote logging to also show the reason for the demote. Return EINVAL instead of ERANGE if a carpdemote request is out range. Requested from otto. OK mcbride, henning.
2010-04-25Test handling of roff conditional instructions;Ingo Schwarze
committing the desired results, too, because groff is doing page-layout formatting for man(7) even in ASCII output mode and we do not imitate that in mandoc.
2010-04-25Let the clean target remove cores,Ingo Schwarze
and let the cleandir target call groff-clean as well.
2010-04-25Novatel MC760 bits from Ted Roby <ted.roby@gmail.com>.Jonathan Gray
2010-04-25regenJonathan Gray
2010-04-25Novatel MC760 ids from Ted Roby <ted.roby@gmail.com>Jonathan Gray
2010-04-25Implement roff conditional instructions .if .ie .el, in man(7) only for now;Ingo Schwarze
fixing OpenBSD::PackageName(3p) and friends for espie@.
2010-04-25dirhash cna cope with real locks (and has before), enable mutexes here.Ted Unangst
ok deraadt
2010-04-25ftpvis was not ok. fix it.Ted Unangst
2010-04-25prevent out-of-bounds access with empty pattern (fixes "grep -x ''")Eric Faurot
ok millert@ krw@
2010-04-25pure whitespace cleanupMarc Espie
2010-04-25Add ldpd(8) to /etc/rc* files.Michele Marchetto
It needs to be started before the routing daemons. In this way every new prefix learnt by them already has a label associated. discussed with and ok'ed by claudio@
2010-04-25Fix auto-completion of filenames containing whitespace.Stefan Sperling
Before this change whitespace wasn't escaped during completion which caused the ftp command to see multiple arguments where a single path was expected. Based on similar commit made to NetBSD's ftp in 1999. help and ok uwe tedu deraadt
2010-04-25introducing a 64-bit type to the disklabel structure leads some architecturesTheo de Raadt
to pad-align the size of the structure; it grows, the disklabel ioctl's are break ABI. Change the uid to a character array. this also simplifies some other stuff ok jsing
2010-04-24delete two extra ; that got inserted somewhere along the lineTheo de Raadt
2010-04-24syncTheo de Raadt
2010-04-24Remove now empty XprintAppUtil and XprintUtil directories.Matthieu Herrb
2010-04-24AViiON VDM and VDIT defines, to be used by disksubr.c very soon.Miod Vallat
2010-04-24grammar in commentsMiod Vallat
2010-04-24fix format stringCharles Longeau
while there, print SIZE unconditonnally (prompted by gilles@) ok gilles@
2010-04-24SMP support for models 4600 and 530, adapted from the MVME188 code. ModelsMiod Vallat
4000 and 4300 will need more work, because they don't have as many distinct software interrupt sources as required by this implementation, so a different IPI scheme will be necessary. Tested on dual-processor 4625 (AV530 family) and single processor 4300 (AV400 family).
2010-04-24Replace heuristics used to figure out which model we are running on, andMiod Vallat
trust the cpuid value returned by the prom itself (verified against /usr/opt/sdk/include/sys/dg_sys_info.h on a DG-UX filesystem).
2010-04-24Fix handling of more than 32768 PLT entries. Mostly from NetBSD.Mark Kettenis
eyeballed by deraadt@ and drahn@
2010-04-24There is no reason to protect the pmap_vp_pool with splvm(). The only pmapMark Kettenis
that gets manipulated in interrupt context is the kernel pmap, and we fully populate its VP mappings during pmap_bootstrap(). Gets rid of the excessive spl's at pmap_destroy() time noticed by deraadt@ ok deraadt@, drahn@