summaryrefslogtreecommitdiff
path: root/sys/kern/sched_bsd.c
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2010-04-23 17:03:07 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2010-04-23 17:03:07 +0000
commite7e2ada08961f816affda40d5f9c3b24f9997ea2 (patch)
tree11799d0b34cde293305e4f24ad7dbdc14ff08110 /sys/kern/sched_bsd.c
parentee0e634d028cb2c2b2f77a79b55b44b35c3bf07f (diff)
Allow for lazy fence disable on tiling change.
When we disable tiling (for example whenever we free an object to out userland cache), we stall the gpu so that we can get rid of the fence register covering its bit of the gtt. Instead, mark it as invalid and then free it on next use, leading to less of a gpu stall if any. Leads to some slight performance improvement on 8xx, 91x and 94x chipsets which are fence constrained.
Diffstat (limited to 'sys/kern/sched_bsd.c')
0 files changed, 0 insertions, 0 deletions