]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: Add intel_ring_cachline_align()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 11 Feb 2014 17:52:05 +0000 (19:52 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 11 Feb 2014 22:00:19 +0000 (23:00 +0100)
commit753b1ad4a281b0663329409d410243e91825c323
treed36cdd092349b4b27fbb77e7d09c097e9ff5bd25
parent1d2cb9a54abc6e1d239f28f07661366d5662a94a
drm/i915: Add intel_ring_cachline_align()

intel_ring_cachline_align() emits MI_NOOPs until the ring tail is
aligned to a cacheline boundary.

Cc: Bjoern C <lkml@call-home.ch>
Cc: Alexandru DAMIAN <alexandru.damian@intel.com>
Cc: Enrico Tagliavini <enrico.tagliavini@gmail.com>
Suggested-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: stable@vger.kernel.org (prereq for the next patch)
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ringbuffer.c
drivers/gpu/drm/i915/intel_ringbuffer.h