]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gtt: add some flushing for the 64K GTT path
authorMatthew Auld <matthew.auld@intel.com>
Fri, 3 Sep 2021 15:53:17 +0000 (16:53 +0100)
committerMatthew Auld <matthew.auld@intel.com>
Wed, 8 Sep 2021 08:35:37 +0000 (09:35 +0100)
commit502d0609fc418e674f1e8bd30aa02748e4c6b465
tree6da992509a99640c42cccf78bbdbfe0fa6be2514
parent3f027d61663fc20622a9563ab1463fab17672289
drm/i915/gtt: add some flushing for the 64K GTT path

If we need to mark the PDE as operating in 64K GTT mode, we should be
paranoid and flush the extra writes, like we already do for the PTEs. On
some platforms the clflush can apparently add the just the right amount
of magical delay to force the GPU to see the updated entry.

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210903155317.1854012-1-matthew.auld@intel.com
drivers/gpu/drm/i915/gt/gen8_ppgtt.c