Lines Matching refs:cqs
148 static int crtc_queue_sequence(int fd, struct local_drm_crtc_queue_sequence *cqs) in crtc_queue_sequence() argument
153 if (igt_ioctl(fd, LOCAL_DRM_IOCTL_CRTC_QUEUE_SEQUENCE, cqs)) in crtc_queue_sequence()
178 struct local_drm_crtc_queue_sequence cqs; in run_test() local
180 memset(&cqs, 0, sizeof(cqs)); in run_test()
181 cqs.crtc_id = data->crtc_id; in run_test()
182 cqs.flags = LOCAL_DRM_CRTC_SEQUENCE_RELATIVE; in run_test()
183 cqs.sequence = 120 + 12; in run_test()
184 igt_assert_eq(crtc_queue_sequence(fd, &cqs), 0); in run_test()
238 struct local_drm_crtc_queue_sequence cqs; in sequence_queue() local
250 memset(&cqs, 0, sizeof(cqs)); in sequence_queue()
251 cqs.crtc_id = data->crtc_id; in sequence_queue()
252 cqs.flags = 0; in sequence_queue()
253 cqs.sequence = target; in sequence_queue()
254 igt_assert_eq(crtc_queue_sequence(fd, &cqs), 0); in sequence_queue()
255 igt_assert_eq(cqs.sequence, target); in sequence_queue()