From: Luca Barbieri Date: Sat, 30 Jan 2010 22:21:38 +0000 (+0100) Subject: drm/nouveau: call ttm_bo_wait with the bo lock held to prevent hang X-Git-Tag: v2.6.33-rc8~14^2~2^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0fbe3eb5f65fe5948219f4ceac68f8a665b1fc6;p=pandora-kernel.git drm/nouveau: call ttm_bo_wait with the bo lock held to prevent hang nouveau_gem_ioctl_cpu_prep calls ttm_bo_wait without the bo lock held. ttm_bo_wait unlocks that lock, and so must be called with it held. Currently this bug causes libdrm nouveau_bo_busy() to hang the machine. Signed-off-by: Luca Barbieri Acked-by: Maarten Maathuis Signed-off-by: Francisco Jerez Signed-off-by: Ben Skeggs --- Reading git-diff-tree failed