summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2008-12-11 17:20:20 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2008-12-11 17:20:20 +0000
commitb0cee09966e77396253a101c64ac15f76a5ddbc4 (patch)
tree19c49dec54bb0ef7dd1931949757bf2782e800d7 /usr.sbin
parenta8eb0a9fc0b98b7b3415d1ca5352651e9ed778fa (diff)
Don't do radeon_cp_dispatch flip on lastclose.
Sometimes the sarea isn't there and screws us. The intention of this call was to set the scanout buffer back to being correct. On the other hand: If we're in lastclose the xserver is shutting and thus the scanout buffer is moot. Kernel modesetting will probably revising pageflipping, but that'll be a different interface anyway. Since all lastclose does not is call radeon_do_release() just rename radeon_do_release to lastclose and nuke the old one. Uwe@ has some crashes in here occasionally, this diff fixed them for him.
Diffstat (limited to 'usr.sbin')
0 files changed, 0 insertions, 0 deletions