]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Avoid blocking the kworker thread on a stuck mutex
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 29 Sep 2010 11:26:37 +0000 (12:26 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 29 Sep 2010 11:26:37 +0000 (12:26 +0100)
commita59b68d04f3da6dfc0d6c2275e9b1bb473aafed8
treecbc823b8ae71b0776e70986a2283af02bc475c4c
parent08f5bafaf6b6bd39a3506f508ff1518366d6438e
drm/i915: Avoid blocking the kworker thread on a stuck mutex

Just reschedule the retire requests again if the device is currently
busy. The request list will be pruned along other paths so will never
grow unbounded and so we can afford to miss the occasional pruning.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_gem.c