From: Marcin Slusarz Date: Wed, 9 Mar 2011 13:22:19 +0000 (+0100) Subject: drm/nouveau: fix __nouveau_fence_wait performance X-Git-Tag: v2.6.39-rc1~458^2~7^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd35fe5a7930bf83ed56422ea4e4b6471ee6f739;p=pandora-kernel.git drm/nouveau: fix __nouveau_fence_wait performance Commit 21e86c1c8a844bf978f8fc431a59c9f5a578812d ("drm/nouveau: remove cpu_writers lock") turned on lazy waits. Unfortunately __nouveau_fence_wait was not optimized for this case and on HZ=100 kernel wasted up to 10 ms per call. Depending on application, it led to 10-30% FPS regression. Fix it. Signed-off-by: Marcin Slusarz Signed-off-by: Francisco Jerez --- Reading git-diff-tree failed