[PATCH 5/5] gem_render_linear_blits: Remove aub dump support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It's much easier to follow the new gem_render_copy test and acquire a
aub dump from it.

Suggested-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
Signed-off-by: Damien Lespiau <damien.lespiau@xxxxxxxxx>
---
 tests/gem_render_linear_blits.c | 16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/tests/gem_render_linear_blits.c b/tests/gem_render_linear_blits.c
index 1cc50b9..f110753 100644
--- a/tests/gem_render_linear_blits.c
+++ b/tests/gem_render_linear_blits.c
@@ -90,11 +90,6 @@ int main(int argc, char **argv)
 	if (argc > 1)
 		count = atoi(argv[1]);
 
-	if (drmtest_dump_aub()) {
-		count = 2;
-		drm_intel_bufmgr_gem_set_aub_filename(bufmgr, "rendercopy.aub");
-		drm_intel_bufmgr_gem_set_aub_dump(bufmgr, true);
-	}
 	if (count == 0)
 		count = 3 * gem_aperture_size(fd) / SIZE / 2;
 	else if (count < 2) {
@@ -135,17 +130,6 @@ int main(int argc, char **argv)
 
 		render_copy(batch, &src, 0, 0, WIDTH, HEIGHT, &dst, 0, 0);
 		start_val[(i + 1) % count] = start_val[i % count];
-
-		/* We're not really here for the test, we just want to dump a
-		 * trace of a call to render_copy() */
-		if (drmtest_dump_aub()) {
-			drm_intel_gem_bo_aub_dump_bmp(dst.bo,
-				0, 0, WIDTH, HEIGHT,
-				AUB_DUMP_BMP_FORMAT_ARGB_8888,
-				STRIDE, 0);
-			drm_intel_bufmgr_gem_set_aub_dump(bufmgr, false);
-			return 0;
-		}
 	}
 	for (i = 0; i < count; i++)
 		check_bo(fd, bo[i]->handle, start_val[i]);
-- 
1.8.3.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux