]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3532ac9b51674ba81ba9810598ce3da40ac747a9
tree14024d0556cd3c5d3bd46e396e9d2a3439e74d72
parent37e220a5ddb2a6200fbc694476317e158f592e52
drm/i915: fix scheduling while holding the new active list spinlock

regression caused by commit 9a7a3e1933136f076f72dcbfb4d4586b39ee0f5a:
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