mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-12 02:16:17 +00:00
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
This commit is contained in:
parent
41fe811feb
commit
81f16261f4
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user