From 32d41cc7a7fc357758a60f019341805ae1ee418d Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Thu, 13 Mar 2014 02:38:04 +0100 Subject: [PATCH] tests/prime_nv_tests: fix copied buffer size Doesn't affect the test since we only check the first few bytes. But I want to switch the copy code to always copy entire pages around, so use the right buffer size. Signed-off-by: Daniel Vetter --- tests/prime_nv_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/prime_nv_test.c b/tests/prime_nv_test.c index 18a13a0..8a63540 100644 --- a/tests/prime_nv_test.c +++ b/tests/prime_nv_test.c @@ -336,7 +336,7 @@ static void test_i915_blt_fill_nv_read(void) igt_assert(nouveau_bo_prime_handle_ref(ndev, prime_fd, &nvbo) == 0); close(prime_fd); - intel_copy_bo(intel_batch, test_intel_bo, src_bo, 256, 1); + intel_copy_bo(intel_batch, test_intel_bo, src_bo, 256, 1024/4); igt_assert(nouveau_bo_map(nvbo, NOUVEAU_BO_RDWR, nclient) == 0); -- 2.7.4