From: Ville Syrjälä Date: Tue, 11 Feb 2014 17:52:06 +0000 (+0200) Subject: drm/i915: Prevent MI_DISPLAY_FLIP straddling two cachelines on IVB X-Git-Tag: v3.2.56~95 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13f09b941bc8cfb1a1355a26c999bad59af4db12;p=pandora-kernel.git drm/i915: Prevent MI_DISPLAY_FLIP straddling two cachelines on IVB commit f66fab8e1cd6b3127ba4c5c0d11539fbe1de1e36 upstream. According to BSpec the entire MI_DISPLAY_FLIP packet must be contained in a single cacheline. Make sure that happens. v2: Use intel_ring_begin_cacheline_safe() v3: Use intel_ring_cacheline_align() (Chris) Cc: Bjoern C Cc: Alexandru DAMIAN Cc: Enrico Tagliavini Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=74053 Signed-off-by: Ville Syrjälä Signed-off-by: Daniel Vetter [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed