summaryrefslogtreecommitdiff
path: root/tests/gem_cpu_reloc.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-08-12 12:17:35 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-08-12 12:20:22 +0200
commit1caaf0a6b6e00e3ab85a10d7e9e36907d4c1d577 (patch)
tree258ab2ef01b3461f1dc85f081a59ecd578874326 /tests/gem_cpu_reloc.c
parent814b135541813a6ee623eda895119acdea7f7a2f (diff)
s/drmtest_/igt_/
Requested-by: Chris Wilson <chris@chris-wilson.co.uk> Acked-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/gem_cpu_reloc.c')
-rw-r--r--tests/gem_cpu_reloc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/gem_cpu_reloc.c b/tests/gem_cpu_reloc.c
index ad70e40d..5de13815 100644
--- a/tests/gem_cpu_reloc.c
+++ b/tests/gem_cpu_reloc.c
@@ -153,7 +153,7 @@ int main(int argc, char **argv)
}
count = aper_size / 4096 * 2;
- if (drmtest_run_in_simulation())
+ if (igt_run_in_simulation())
count = 10;
handles = malloc (count * sizeof(uint32_t));
@@ -177,7 +177,7 @@ int main(int argc, char **argv)
exec(fd, bad);
gem_close(fd, bad);
- drmtest_progress("gem_cpu_reloc: ", i, 2*count);
+ igt_progress("gem_cpu_reloc: ", i, 2*count);
}
/* And again in reverse to try and catch the relocation code out */
@@ -192,7 +192,7 @@ int main(int argc, char **argv)
exec(fd, bad);
gem_close(fd, bad);
- drmtest_progress("gem_cpu_reloc: ", count+i, 3*count);
+ igt_progress("gem_cpu_reloc: ", count+i, 3*count);
}
/* Third time lucky? */
@@ -209,7 +209,7 @@ int main(int argc, char **argv)
exec(fd, bad);
gem_close(fd, bad);
- drmtest_progress("gem_cpu_reloc: ", 2*count+i, 3*count);
+ igt_progress("gem_cpu_reloc: ", 2*count+i, 3*count);
}
printf("Test suceeded, cleanup up - this might take a while.\n");