drm/i915/chv: Flush caches when programming page tables
authorRafael Barbalho <rafael.barbalho@intel.com>
Wed, 9 Apr 2014 10:28:02 +0000 (13:28 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 6 May 2014 16:30:08 +0000 (18:30 +0200)
commitfd1ab8f48c7d17fd09945e38e2bff7440d746398
tree5209b5429fd597f40dc064fb0c07951d943134b8
parentee0ce4784acc0b17c177c0274cb6fc096d977829
drm/i915/chv: Flush caches when programming page tables

Page table updates were getting stuck in the CPU cache on chv causing
spurious page faults and strange behaviour.

Signed-off-by: Rafael Barbalho <rafael.barbalho@intel.com>
[vsyrjala: Add !HAS_LLC checks]
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_gtt.c