aboutsummaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2010-05-27 13:18:13 +0100
committerEric Anholt <[email protected]>2010-05-28 10:40:27 -0700
commit468f0b44ce4b002ca7d9260f802a341854752c02 (patch)
tree43ab02a3949035fca6d169aa3b10cf6e836455ab /lib/debugobjects.c
parent35aed2e6be2feaa227fe5c7a0b7c286c4fe71592 (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 <[email protected]> Cc: Jesse Barnes <[email protected]> Cc: Kristian Høgsberg <[email protected]> Reviewed-by: Jesse Barnes <[email protected]> Signed-off-by: Eric Anholt <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions