From: Chris Wilson Date: Tue, 24 Apr 2012 21:59:50 +0000 (+0100) Subject: drm/i915: Handle PendingFlip on gen3 robustly X-Git-Tag: v3.5-rc1~83^2~8^2~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38bde18045afe854f389961846d64c4b3f86105f;p=pandora-kernel.git drm/i915: Handle PendingFlip on gen3 robustly We appear to allow too many pending pageflips as evidenced by an apparent pin-leak. So borrow the pageflip completion logic from i8xx for handling PendingFlip in a robust manner. v2: Address Jesse's reminders about the nuances of gen3 IRQ handling. References: https://bugzilla.kernel.org/show_bug.cgi?id=41882 Signed-off-by: Chris Wilson Reviewed-by: Jesse Barnes Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed