[igt-dev] [PATCH i-g-t v14 14/14] tests/gem_render_tiled_blits: try to use pread instead snoop

Zbigniew Kempczyński zbigniew.kempczynski at intel.com
Wed Jul 29 15:09:11 UTC 2020


Experimental to find out what makes reading via gtt incoherent.

Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
---
 tests/i915/gem_render_tiled_blits.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tests/i915/gem_render_tiled_blits.c b/tests/i915/gem_render_tiled_blits.c
index 0d83a43e..f1ed01e6 100644
--- a/tests/i915/gem_render_tiled_blits.c
+++ b/tests/i915/gem_render_tiled_blits.c
@@ -108,6 +108,10 @@ static void run_test (int fd, int count)
 		snoop = 0;
 	if (IS_BROADWATER(devid) || IS_CRESTLINE(devid)) /* snafu */
 		snoop = 0;
+	if (IS_915G(devid)) {
+		igt_debug("Disable snooping for Grantsdale\n");
+		snoop = 0;
+	}
 
 	bops = buf_ops_create(fd);
 	ibb = intel_bb_create(fd, 4096);
-- 
2.26.0



More information about the igt-dev mailing list