From: Daniel Vetter Date: Tue, 15 Sep 2009 20:57:32 +0000 (+0200) Subject: drm/i915: add i915_lp_ring_sync helper X-Git-Tag: v2.6.33-rc1~323^2~5^2~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48764bf43f746113fc77877d7e80f2df23ca4cbb;p=pandora-kernel.git drm/i915: add i915_lp_ring_sync helper This just waits until the hw passed the current ring position with cmd execution. This slightly changes the existing i915_wait_request function to make uninterruptible waiting possible - no point in returning to userspace while mucking around with the overlay, that piece of hw is just too fragile. Also replace a magic 0 with the symbolic constant (and kill the then superflous comment) while I was looking at the code. Signed-off-by: Daniel Vetter Signed-off-by: Eric Anholt --- Reading git-diff-tree failed