[Intel-gfx] [PATCH] Drop the mutex whilst waiting for a request
chris at chris-wilson.co.uk
Wed Feb 4 14:58:28 CET 2009
I'm seem to be able to hang the chip at will, though it seems quite
sensitive to timing. For example if I sync the batch buffer after every
exec, the bug disappears and rendering continues.
During the course of my travails I found that i915_wait_request() holds
the struct_mutex whilst sleeping which, among other effects, prevents me
from accessing the proc/debug interfaces. So I've attached a rudimentary
patch to drop the mutex for the duration of the sleep. Review would be
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 6657 bytes
More information about the Intel-gfx