diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-03-13 03:35:02 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-03-13 18:07:22 +0100 |
commit | eaccd444f774ff88f9cfc24fb0a5e5b20f71d749 (patch) | |
tree | e31fe06cde23fdec8b31b043d1d615b572a9a31c /tests/prime_nv_test.c | |
parent | 32d41cc7a7fc357758a60f019341805ae1ee418d (diff) |
lib: switch intel_copy_bo to directly take a size
Instead of a width/height combination. Since I've been lazy with the
math this now only accepts page-aligned copy operations, but that's
all we need really.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/prime_nv_test.c')
-rw-r--r-- | tests/prime_nv_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/prime_nv_test.c b/tests/prime_nv_test.c index 8a635402..640515b4 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, 1024/4); + intel_copy_bo(intel_batch, test_intel_bo, src_bo, BO_SIZE); igt_assert(nouveau_bo_map(nvbo, NOUVEAU_BO_RDWR, nclient) == 0); |