diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-05-27 13:18:13 +0100 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-05-28 10:40:27 -0700 |
commit | 468f0b44ce4b002ca7d9260f802a341854752c02 (patch) | |
tree | 43ab02a3949035fca6d169aa3b10cf6e836455ab /lib/dynamic_debug.c | |
parent | 35aed2e6be2feaa227fe5c7a0b7c286c4fe71592 (diff) |
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 <chris@chris-wilson.co.uk>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Cc: Kristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions