summaryrefslogtreecommitdiff
path: root/tests/gem_exec_flush.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-05-01 09:07:29 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2016-05-01 09:14:16 +0100
commitb4817052080fdc85e2376a5d63dafd8238e95d67 (patch)
tree03290cafed505c238ef99672c93ff3aafd9e81cc /tests/gem_exec_flush.c
parentef3f61a6d304c5bcec1ea892f292a0cf2c9062cc (diff)
lib: Apply magic clflush serialisation
On Baytrail, Braswell and Atoms beyond we see an issue where the mfence is insufficient to force the cacheline to be coherent (i.e. such that writes from the GPU are visible by the CPU after the call to clflush). A second clflush is ordered with an earlier clflush to the same address and this appears sufficient to give the coherency required for GPU/CPU interop. Testcase: igt/gem_exec_flush Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Akash Goel <akash.goel@intel.com>
Diffstat (limited to 'tests/gem_exec_flush.c')
0 files changed, 0 insertions, 0 deletions