]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Apply the GTT write flush for all !llc machines
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 7 Sep 2017 18:45:20 +0000 (19:45 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 7 Sep 2017 20:46:42 +0000 (21:46 +0100)
commite8f6659ee50b4937adcb70d411aab3d4fe3e44b1
treecad9eb119796edc0b22bb626be89885a2db2daab
parent329c3e4a758ec4314e110881cf8d23d5f13547c7
drm/i915: Apply the GTT write flush for all !llc machines

We also see the delayed GTT write issue on i915g/i915gm, so let's
presume that it is a universal problem for all !llc machines, and that we
just haven't yet noticed on g33, gen4 and gen5 machines.

v2: Use a register that exists on all platforms

Testcase: igt/gem_mmap_gtt/coherency # i915gm
References: https://bugs.freedesktop.org/show_bug.cgi?id=102577
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170907184520.5032-1-chris@chris-wilson.co.uk
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
drivers/gpu/drm/i915/i915_gem.c