diff options
author | Paulo Zanoni <paulo.r.zanoni@intel.com> | 2014-12-03 16:12:49 -0200 |
---|---|---|
committer | Paulo Zanoni <paulo.r.zanoni@intel.com> | 2015-05-05 17:27:49 -0300 |
commit | 9bb04d3aa6a2b1b86e091967e312a19ce337df4d (patch) | |
tree | 4bc4ddc0b7f75b5c8156599f36dc08991b223811 /tools/ddi_compute_wrpll.c | |
parent | a734ac2058fd0cce842a4290335c0697d89b2d63 (diff) |
lib: add igt_wait()
Just a little helper for code that needs to wait for a certain
condition to happen. It has the nice advantage that it can survive the
signal helper.
Despite the callers added in this patch, there is another that will go
in a separate patch, and another in a new IGT test file that I plan to
push later.
v2: Check COND again before returning in case we hit the timeout.
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Diffstat (limited to 'tools/ddi_compute_wrpll.c')
0 files changed, 0 insertions, 0 deletions