]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Use maximum write flush for pwrite_gtt
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 18 Jul 2019 14:54:05 +0000 (15:54 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 18 Jul 2019 19:05:05 +0000 (20:05 +0100)
commit297769a005da8cdfc1d051718f7fefc63f3d965e
tree31f0871afb575f58d67933c89c1b2868594a690f
parent6274df0f418f7403a01aa10c4fcd693091006e6d
drm/i915: Use maximum write flush for pwrite_gtt

As recently disovered by forcing big-core (!llc) machines to use the GTT
paths, we need our full GTT write flush before manipulating the GTT PTE
or else the writes may be directed to the wrong page.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Matthew Auld <matthew.william.auld@gmail.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: stable@vger.kernel.org
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190718145407.21352-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem.c