drm/i915: fix scheduling while holding the new active list spinlock
authorShaohua Li <shaohua.li@intel.com>
Wed, 8 Apr 2009 02:58:23 +0000 (10:58 +0800)
committerEric Anholt <eric@anholt.net>
Tue, 14 Apr 2009 18:45:28 +0000 (11:45 -0700)
commit68c84342171034120c8a1f6dfb8ef51b14250f11
tree14024d0556cd3c5d3bd46e396e9d2a3439e74d72
parent280b713b5b0fd84cf2469098aee88acbb5de859c
drm/i915: fix scheduling while holding the new active list spinlock

regression caused by commit 5e118f4139feafe97e913df67b1f7c1e5083e535:
i915_gem_object_move_to_inactive() should be called in task context,
as it calls fput();

Signed-off-by: Shaohua Li<shaohua.li@intel.com>
[anholt: Add more detail to the comment about the lock break that's added]
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_gem.c