diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-08-05 21:40:56 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-08-05 21:40:56 +0200 |
commit | 81f16261f4d5d2cb1217569cc6580c0326b9eae2 (patch) | |
tree | 3cafed34b6aa67d41e889c9842254aa387702bc6 | |
parent | 41fe811feb5c79c760f5d2e9fe5d1671f6d71ff8 (diff) |
tests/gem_reg_read: actually wait a bit between reading TIMESTAMP reg
QA could only hit this on ilk because the timer increase quite a bit
slower on that platform than on gen6+ (80ns vs 320ns, iirc).
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=52937
-rw-r--r-- | tests/gem_reg_read.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/gem_reg_read.c b/tests/gem_reg_read.c index 987ca6e..1d6db1f 100644 --- a/tests/gem_reg_read.c +++ b/tests/gem_reg_read.c @@ -81,6 +81,7 @@ int main(int argc, char *argv[]) exit(EXIT_FAILURE); val = timer_query(fd); + sleep(1); if (timer_query(fd) == val) { fprintf(stderr, "Timer isn't moving, probably busted\n"); exit(EXIT_FAILURE); |