summaryrefslogtreecommitdiff
path: root/tests/i915/gem_pread.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2019-06-27 08:34:45 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2019-06-27 13:23:26 +0100
commit250475af7bc52ba64956e6b35591fdd7176954d7 (patch)
tree1bc18064bf7b9f54900a65aeb9c2da94922df310 /tests/i915/gem_pread.c
parent439a9f5d615f31f03cc3a3a5cbab19367a1af763 (diff)
i915/gem_pread/pwrite: Rename "basic"
The "basic" subtests perform no verification that the read/write work, only function as mere API exercisers and loose benchmarks. Rename them to reflect that they are poor benchmarks instead. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/i915/gem_pread.c')
-rw-r--r--tests/i915/gem_pread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/i915/gem_pread.c b/tests/i915/gem_pread.c
index c6478765..0d3e10b8 100644
--- a/tests/i915/gem_pread.c
+++ b/tests/i915/gem_pread.c
@@ -159,7 +159,7 @@ igt_main_args("s:", NULL, help_str, opt_handler, NULL)
dst_user = malloc(object_size);
}
- igt_subtest("basic") {
+ igt_subtest("bench") {
for (count = 1; count <= 1<<17; count <<= 1) {
struct timeval start, end;