[Intel-gfx] [PATCH] drm/i915: Wake-up wait_request() from elapsed hang-check (v2)

2010-08-07 Thread Chris Wilson
If our watchdog fires and we see that the GPU is idle, but that we are still waiting on an interrupt, forcibly wake-up the waiter. i915_do_wait_request() should not be racy, yet there are persistent reports that 945GM hangs whilst the GPU is idle. This implies that the hardware is not quite as coh

[Intel-gfx] [PATCH] drm/i915: Wake-up wait_request() from elapsed hang-check

2010-08-07 Thread Chris Wilson
If our watchdog fires and we see that the GPU is idle, but that we are still waiting on an interrupt, forcibly wake-up the waiter. i915_do_wait_request() should not be racy, yet there are persistent reports that 945GM hangs whilst the GPU is idle. This implies that the hardware is not quite as coh