diff options
author | Mahesh Kumar <mahesh1.kumar@intel.com> | 2018-08-13 19:23:18 +0530 |
---|---|---|
committer | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2018-08-14 11:12:48 +0200 |
commit | b0263e5d0563a81a42cf66e7d3b84662d3222862 (patch) | |
tree | 9f8040eea3a367bba12f085b11fb45213efbbaf9 /lib/igt_debugfs.h | |
parent | c88e219c6e890d89b7836c5e248ffedf334d55a2 (diff) |
lib/igt_debugfs: explicitly wait for first crc in igt_pipe_crc_start
Now crc framework does not wait for first CRC during open, User need
to wait for crc if he wants so.
This patch make changes in igt_pipe_crc_start to make sure we wait
until first crc available after open to keep the tests behaviour same.
Without this if driver is skipping few initial crcs there will be
mismatch in expected and actual number of crcs returned by crc
framework.
Changes Since V1:
- poll instead of read_one_crc (Maarten)
Changes Since V2:
- poll without timeout, we already have igt_timeout (Maarten)
Signed-off-by: Mahesh Kumar <mahesh1.kumar@intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Diffstat (limited to 'lib/igt_debugfs.h')
0 files changed, 0 insertions, 0 deletions