commit | bd35fe5a7930bf83ed56422ea4e4b6471ee6f739 | [log] [tgz] |
---|---|---|
author | Marcin Slusarz <marcin.slusarz@gmail.com> | Wed Mar 09 14:22:19 2011 +0100 |
committer | Ben Skeggs <bskeggs@redhat.com> | Mon Mar 14 16:35:16 2011 +1000 |
tree | 1ff63be39ccd22175d4fa61683865664181fef38 | |
parent | 459ca7e5283914845d7139905ff58824d2b0cc85 [diff] |
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 <marcin.slusarz@gmail.com> Signed-off-by: Francisco Jerez <currojerez@riseup.net>