tests: Add prime_mmap_coherency for cache coherency tests

Different than kms_mmap_write_crc that captures the coherency issues within the
scanout mapped buffer, this one is meant for test dma-buf mmap on !llc
platforms mostly and provoke coherency bugs so we know where we need the sync
ioctls.

I tested this with !llc and llc platforms, BTY and IVY respectively.

Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
This commit is contained in:
Tiago Vignatti
2015-12-08 19:37:32 -02:00
committed by Daniel Vetter
parent 7c89c9d734
commit ed40329c30
2 changed files with 247 additions and 0 deletions
+1
View File
@@ -107,6 +107,7 @@ TESTS_progs_M = \
pm_rc6_residency \
pm_sseu \
prime_mmap \
prime_mmap_coherency \
prime_self_import \
template \
$(NULL)