Searched refs:kmode (Results 1 – 3 of 3) sorted by relevance
415 static double frame_time(const drmModeModeInfo *kmode) in frame_time() argument417 return 1000.0 * kmode->htotal * kmode->vtotal / kmode->clock; in frame_time()420 static double line_time(const drmModeModeInfo *kmode) in line_time() argument422 return 1000.0 * kmode->htotal / kmode->clock; in line_time()425 static void check_timings(int crtc_idx, const drmModeModeInfo *kmode) in check_timings() argument484 expected = frame_time(kmode); in check_timings()501 100 * accuracy / mean, accuracy / line_time(kmode)); in check_timings()504 igt_assert_f(accuracy < line_time(kmode), in check_timings()506 accuracy, 100 * accuracy / mean, line_time(kmode)); in check_timings()
173 drmModeModeInfo kmode[4]; member417 return 1000.0 * o->kmode[0].htotal * o->kmode[0].vtotal / o->kmode[0].clock; in mode_frame_time()640 drmModeModeInfoPtr mode = &o->kmode[n]; in set_mode()800 int width = o->fb_width - o->kmode[0].hdisplay; in run_test_step()811 o->kmode[0].hdisplay, o->kmode[0].vdisplay, o->kmode[0].vrefresh, in run_test_step()873 o->kmode[0] = config.default_mode; in connector_find_preferred_mode()876 o->fb_width = o->kmode[0].hdisplay; in connector_find_preferred_mode()877 o->fb_height = o->kmode[0].vdisplay; in connector_find_preferred_mode()942 o->kmode[0] = *mode[0]; in connector_find_compatible_mode()948 o->kmode[1] = *mode[1]; in connector_find_compatible_mode()[all …]
224 drmModeResPtr kmode; in kms_overlay_create() local235 kmode = drmModeGetResources(priv->fd); in kms_overlay_create()236 if (kmode == 0) in kms_overlay_create()242 for (i = 0; i < kmode->count_crtcs; i++) { in kms_overlay_create()246 get_pipe.crtc_id = kmode->crtcs[i]; in kms_overlay_create()