Monitor ACTHD register while polling for idle ring.
authorKeith Packard <keithp@keithp.com>
Tue, 6 May 2008 05:09:34 +0000 (22:09 -0700)
committerKeith Packard <keithp@keithp.com>
Tue, 6 May 2008 05:09:34 +0000 (22:09 -0700)
commited6657fa8e7977b19bb836782ac8e87f0f703cef
tree4789a9233fd81b4604bcb642cbf727f0629d42a4
parent2c8f970baaba9c72c882677f40ce8271bff03bac
Monitor ACTHD register while polling for idle ring.

When batch buffers are executing, the ring may be stuck for a long time.
Monitor the ACTHD pointer which will show if the execution engine is
actually hung.
shared-core/i915_dma.c