diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2018-09-25 17:38:03 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2018-09-27 15:18:47 +0300 |
commit | 036b60a388685dcd38c33dc4b7ba55130a2d200d (patch) | |
tree | 1dd6066adf2704106f9626eee60d433bd367540e /tests | |
parent | 38a633b50f0ee369570e1eadee724f62d59553b0 (diff) |
lib/debugfs: Use a blocking read in igt_pipe_crc_get_single()
All users of igt_pipe_crc_get_single() want a blocking read even if
the fd was opened in nonblocking mode. Make it so.
v2: Fix the docs for igt_pipe_crc_get_single()
Cc: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/kms_chv_cursor_fail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms_chv_cursor_fail.c b/tests/kms_chv_cursor_fail.c index 7138e549..8e50978d 100644 --- a/tests/kms_chv_cursor_fail.c +++ b/tests/kms_chv_cursor_fail.c @@ -258,7 +258,7 @@ static void prepare_crtc(data_t *data) /* get reference crc w/o cursor */ igt_pipe_crc_start(data->pipe_crc); - igt_assert(igt_pipe_crc_get_single(data->pipe_crc, &data->ref_crc)); + igt_pipe_crc_get_single(data->pipe_crc, &data->ref_crc); } static void test_crtc(data_t *data, unsigned int edges) |