From: Chris Wilson Date: Thu, 27 May 2010 12:18:13 +0000 (+0100) Subject: drm/i915: Hold the spinlock whilst resetting unpin_work along error path X-Git-Tag: v2.6.35-rc2~56^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=468f0b44ce4b002ca7d9260f802a341854752c02;p=pandora-kernel.git drm/i915: Hold the spinlock whilst resetting unpin_work along error path Delay taking the mutex until we need to and ensure that we hold the spinlock when resetting unpin_work on the error path. Also defer the debugging print messages until after we have released the spinlock. Signed-off-by: Chris Wilson Cc: Jesse Barnes Cc: Kristian Høgsberg Reviewed-by: Jesse Barnes Signed-off-by: Eric Anholt --- Reading git-diff-tree failed