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)
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

Simple merge