diff options
author | Mohammed Khajapasha <mohammed.khajapasha@intel.com> | 2020-07-20 20:50:45 +0530 |
---|---|---|
committer | Arkadiusz Hiler <arkadiusz.hiler@intel.com> | 2020-07-21 12:58:33 +0300 |
commit | 540f9de91ab2816885a9076a4c0835cb3dc67a97 (patch) | |
tree | d8fc4194add267e0b17176531aa699a82902bc37 /tests/kms_sequence.c | |
parent | 1d0f5f0bc794c9880a71f8a51e81de4802db1062 (diff) |
tests/kms: Use crtc offset to read vblank event for a pipe
Pass crtc_offset parameter to read a vblank event for a pipe
to vblank helper functions.
Signed-off-by: Mohammed Khajapasha <mohammed.khajapasha@intel.com>
Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Diffstat (limited to 'tests/kms_sequence.c')
-rw-r--r-- | tests/kms_sequence.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/kms_sequence.c b/tests/kms_sequence.c index ff2d73cdd..a21ab55c7 100644 --- a/tests/kms_sequence.c +++ b/tests/kms_sequence.c @@ -117,7 +117,8 @@ static void prepare_crtc(data_t *data, int fd, igt_output_t *output) igt_display_commit(display); - igt_wait_for_vblank(fd, data->pipe); + igt_wait_for_vblank(fd, + display->pipes[data->pipe].crtc_offset); } static void cleanup_crtc(data_t *data, int fd, igt_output_t *output) |