diff options
author | Owain Ainsworth <oga@cvs.openbsd.org> | 2009-04-05 04:15:38 +0000 |
---|---|---|
committer | Owain Ainsworth <oga@cvs.openbsd.org> | 2009-04-05 04:15:38 +0000 |
commit | 816afca8624a62abcfc02b37211dfcff81c386c5 (patch) | |
tree | 480affd767cee7a3c923cb17715cf7578b3affde /sys/dev/dec | |
parent | 82592d1958f04b9d94c944120248d114a03acb88 (diff) |
Rework the vblank subsystem so that instead of having various bits in
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 --.
Diffstat (limited to 'sys/dev/dec')
0 files changed, 0 insertions, 0 deletions