From: Chris Wilson Date: Mon, 10 Dec 2012 11:56:17 +0000 (+0200) Subject: drm/i915: Open-code i915_gpu_idle() for handling seqno wrapping X-Git-Tag: v3.9-rc1~83^2~40^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=107f27a5df8ad33a351d6e82fe95ff92b428f72e;p=pandora-kernel.git drm/i915: Open-code i915_gpu_idle() for handling seqno wrapping The complication is that during seqno wrapping we must be extremely careful not to write to any ring as that will require a new seqno, and so would recurse back into the seqno wrap handler. So we cannot call i915_gpu_idle() as that does additional work beyond simply retiring the current set of requests, and instead must do the minimal work ourselves during seqno wrapping. Signed-off-by: Chris Wilson Reviewed-by: Mika Kuoppala Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed