From: Chris Wilson Date: Tue, 27 Nov 2012 16:22:53 +0000 (+0000) Subject: drm/i915: Simplify flushing activity on the ring X-Git-Tag: v3.8-rc1~82^2^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b662a0663230853fccdfceeda5db031f5d4b657c;p=pandora-kernel.git drm/i915: Simplify flushing activity on the ring As we now always preallocate the seqno before writing to the ring, we can trivially test if we have any pending activity on the ring by inspecting the olr. This makes it then possible to flush operations that are not normally associated with a request, like power-management. Signed-off-by: Chris Wilson Reviewed-by: Mika Kuoppala Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed