[Intel-gfx] [PATCH] Drop the mutex whilst waiting for a request

Chris Wilson chris at chris-wilson.co.uk
Wed Feb 4 14:58:28 CET 2009

Hello all,

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...
Name: 0001-drm-i915-Drop-mutex-whilst-waiting-for-a-request.patch
Type: text/x-patch
Size: 6657 bytes
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20090204/110ecb38/attachment.bin>

More information about the Intel-gfx mailing list