Home
last modified time | relevance | path

Searched refs:vrefresh (Results 1 – 25 of 43) sorted by relevance

12

/external/libkmsxx/kms++/src/
Dmodedb.cpp11 …ind_from_table(const Videomode* modes, uint32_t width, uint32_t height, float vrefresh, bool ilace) in find_from_table() argument
22 if (vrefresh && vrefresh != m.calculated_vrefresh()) in find_from_table()
39 if (vrefresh && vrefresh != roundf(m.calculated_vrefresh())) in find_from_table()
48 const Videomode& find_dmt(uint32_t width, uint32_t height, float vrefresh, bool ilace) in find_dmt() argument
50 return find_from_table(dmt_modes, width, height, vrefresh, ilace); in find_dmt()
53 const Videomode& find_cea(uint32_t width, uint32_t height, float vrefresh, bool ilace) in find_cea() argument
55 return find_from_table(cea_modes, width, height, vrefresh, ilace); in find_cea()
Dconnector.cpp138 float vrefresh = idx == string::npos ? 0.0 : stod(mode.substr(idx + 1)); in get_mode() local
146 if (vrefresh && vrefresh != m.calculated_vrefresh()) in get_mode()
155 Videomode Connector::get_mode(unsigned xres, unsigned yres, float vrefresh, bool ilace) const in get_mode() argument
168 if (vrefresh && vrefresh != m.calculated_vrefresh()) in get_mode()
185 if (vrefresh && vrefresh != roundf(m.calculated_vrefresh())) in get_mode()
Dhelpers.cpp31 CPY(vrefresh); in drm_mode_to_video_mode()
62 CPY(vrefresh); in video_mode_to_drm_mode()
Dvideomode.cpp122 vrefresh, calculated_vrefresh(), in to_string_long()
138 vrefresh, calculated_vrefresh(), in to_string_long_padded()
Dmodedb_cea.cpp44 .vrefresh = DIV_ROUND(c * 1000, ht * vt) * (((f)&DRM_MODE_FLAG_INTERLACE) ? 2 : 1), \
Dmodedb_dmt.cpp18 ….vrefresh = DIV_ROUND(c * 1000, ((hact) + (hfp) + (hsw) + (hbp)) * ((vact) + (vfp) + (vsw) + (vbp)…
/external/libkmsxx/kms++/inc/kms++/
Dmodedb.h13 const Videomode& find_dmt(uint32_t width, uint32_t height, float vrefresh, bool ilace);
14 const Videomode& find_cea(uint32_t width, uint32_t height, float vrefresh, bool ilace);
Dconnector.h28 Videomode get_mode(unsigned xres, unsigned yres, float vrefresh, bool ilace) const;
Dvideomode.h24 uint32_t vrefresh; member
/external/igt-gpu-tools/tests/
Dkms_cursor_legacy.c1032 uint32_t vrefresh; in cursor_vs_flip() local
1042 vrefresh = igt_output_get_mode(output)->vrefresh; in cursor_vs_flip()
1080 for (int n = 0; n < vrefresh / 2; n++) { in cursor_vs_flip()
1092 igt_assert_lte(vbl.sequence, vblank_start + 5 * vrefresh / 8); in cursor_vs_flip()
1096 if (shared[0] <= vrefresh*target / 2) { in cursor_vs_flip()
1101 shared[0], vrefresh / 2, in cursor_vs_flip()
1102 vrefresh*target, vrefresh*target / 2); in cursor_vs_flip()
1157 unsigned long vrefresh[2]; in two_screens_cursor_vs_flip() local
1161 vrefresh[0] = igt_output_get_mode(outputs[0])->vrefresh; in two_screens_cursor_vs_flip()
1162 vrefresh[1] = igt_output_get_mode(outputs[1])->vrefresh; in two_screens_cursor_vs_flip()
[all …]
Dtestdisplay.c288 "%s @ %dHz on %s encoder", c->mode.name, c->mode.vrefresh, in paint_output_info()
312 c->connector->modes[i].vrefresh); in paint_output_info()
350 c->mode.vrefresh =(force_timing.clock*1e3)/(force_timing.htotal*force_timing.vtotal); in set_mode()
381 …igt_warn("failed to set mode (%dx%d@%dHz): %s\n", width, height, c->mode.vrefresh, strerror(errno)… in set_mode()
422 "failed to set mode (%dx%d@%dHz): %s\n", width, height, c->mode.vrefresh, strerror(errno)); in do_set_stereo_mode()
Dkms_vrr.c141 igt_require(mode->vrefresh > range.min); in get_test_rate_ns()
143 vtest = (mode->vrefresh - range.min) / 2 + range.min; in get_test_rate_ns()
144 igt_require(vtest < mode->vrefresh); in get_test_rate_ns()
Dkms_plane_lowres.c73 igt_assert_eq(mode1->vrefresh, mode2->vrefresh); in check_mode()
Dkms_pipe_b_c_ivb.c48 .vrefresh = 60,
63 .vrefresh = 60,
Dkms_vblank.c345 int vrefresh = igt_output_get_mode(output)->vrefresh; in vblank_ts_cont() local
390 estimated_vblanks = (int)(time_elapsed * vrefresh); in vblank_ts_cont()
Dkms_setmode.c48 .vrefresh = 60,
98 COMP(vrefresh); in drm_mode_equal()
244 crtc->mode.name, crtc->mode.vrefresh); in get_crtc_config_str()
Dkms_force_connector_basic.c32 igt_assert_eq(m.vrefresh, r);
/external/drm_hwcomposer/drm/
DDrmMode.cpp36 v_refresh_(m->vrefresh), in DrmMode()
63 m->vrefresh = v_refresh_; in ToDrmModeModeInfo()
/external/igt-gpu-tools/tools/
Dintel_residency.c291 uint64_t vrefresh, interval; in setup_vblank_interval() local
293 vrefresh = ((uint64_t) modeset.mode->clock * 1000 * 1000) / in setup_vblank_interval()
295 interval = 1000000000 / vrefresh; in setup_vblank_interval()
Dintel_dp_compliance.c627 c->modes[i].vrefresh == 60 && in set_test_mode()
640 c->modes[i].vrefresh == 60 && in set_test_mode()
743 requested_mode->vrefresh, strerror(errno)); in set_video()
790 width, height, c->mode.vrefresh, strerror(errno)); in set_default_mode()
/external/libdrm/tests/modeprint/
Dmodeprint.c73 printf("\tvrefresh : %i\n", mode->vrefresh); in printMode()
77 mode->hdisplay, mode->vdisplay, mode->vrefresh); in printMode()
/external/igt-gpu-tools/lib/
Digt_edid.c151 mr->min_vfreq = mode->vrefresh - 1; in detailed_timing_set_monitor_range_mode()
152 mr->max_vfreq = mode->vrefresh + 1; in detailed_timing_set_monitor_range_mode()
/external/libdrm/tests/modetest/
Dmodetest.c831 float vrefresh; member
858 const float vrefresh) in connector_find_mode() argument
886 if (vrefresh == 0) in connector_find_mode()
888 else if (fabs(mode_vrefresh(mode) - vrefresh) < 0.005) in connector_find_mode()
952 pipe->mode_str, pipe->vrefresh); in pipe_find_crtc_and_mode()
954 if (pipe->vrefresh) in pipe_find_crtc_and_mode()
958 pipe->mode_str, pipe->vrefresh, pipe->cons[i]); in pipe_find_crtc_and_mode()
1858 pipe->vrefresh = 0; in parse_connector()
1910 pipe->vrefresh = strtof(p + 1, &endp); in parse_connector()
/external/igt-gpu-tools/benchmarks/
Dkms_throughput.c300 return (size_t)mode->hdisplay * (size_t)mode->vdisplay * (size_t)mode->vrefresh; in calculate_complexity()
320 mode->hdisplay, mode->vdisplay, mode->vrefresh); in get_peak_mode()
/external/igt-gpu-tools/tests/i915/
Di915_pm_lpsp.c83 .vrefresh = 60, in edp_subtest()

12