summaryrefslogtreecommitdiff
path: root/bsd-core/i915_mem.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2008-06-20 21:10:42 -0700
committerKeith Packard <keithp@keithp.com>2008-06-20 21:10:42 -0700
commit54817317e9dd8a791418f97503fe574038dbe4b9 (patch)
tree236ee1ad95b8f8fcef5b1fd47088103e6f85a47e /bsd-core/i915_mem.c
parent71b1623e22c54d42837840a1d0479127a5049caf (diff)
[intel-gem] Use polling in i915_gem_idle instead of interrupts.
While waiting for the hardware to idle on leavevt or lastclose, poll for the sync sequence number instead of waiting for an interrupt. This allows the code to bail if the hardware hangs for some reason. Also, this avoids issues with signals as the exisiting wait function is interruptible.
Diffstat (limited to 'bsd-core/i915_mem.c')
0 files changed, 0 insertions, 0 deletions