From: Daniel Vetter Date: Tue, 15 Dec 2009 16:50:00 +0000 (+0100) Subject: drm/i915: fix order of fence release wrt flushing X-Git-Tag: v2.6.33-rc4~76^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96b47b65594fe2365f73aede060cb5203561fed3;p=pandora-kernel.git drm/i915: fix order of fence release wrt flushing i915_gem_object_unbind had the ordering wrong. The other user, i915_gem_object_put_fence_reg already has the correct ordering. Results was usually corrupted pixmaps, especially garbled font glyphs after a suspend/resume (because this evicts everything). I'm still waiting for the feedback from the bug-reporters, but because this obviously fixes a bug (at least for me) I'm already submitting it. Bugzilla: http://bugs.freedesktop.org/show_bug.cgi?id=25406 Signed-off-by: Daniel Vetter Signed-off-by: Eric Anholt CC: stable@kernel.org --- Reading git-diff-tree failed