Home
last modified time | relevance | path

Searched refs:hdisplay (Results 1 – 25 of 116) sorted by relevance

12345

/external/igt-gpu-tools/tests/
Dkms_plane_scaling.c106 igt_create_pattern_fb(data->drm_fd, mode->hdisplay, mode->vdisplay, in prepare_crtc()
159 igt_plane_set_size(plane, mode->hdisplay, mode->vdisplay); in check_scaling_pipe_plane_rot()
294 if (mode->hdisplay >= d->fb[1].width) { in iterate_plane_scaling()
302 for (w = d->fb[1].width; w <= mode->hdisplay; w+=10) { in iterate_plane_scaling()
311 igt_plane_set_size(d->plane2, mode->hdisplay, mode->vdisplay); in iterate_plane_scaling()
315 for (w = mode->hdisplay; w <= d->fb[1].width; w+=10) { in iterate_plane_scaling()
317 h = min(w * mode->hdisplay / mode->vdisplay, d->fb[1].height); in iterate_plane_scaling()
349 mode->hdisplay, mode->vdisplay, in test_plane_scaling_on_pipe()
359 igt_plane_set_size(d->plane1, mode->hdisplay, mode->vdisplay); in test_plane_scaling_on_pipe()
366 igt_plane_set_size(d->plane1, mode->hdisplay, mode->vdisplay); in test_plane_scaling_on_pipe()
[all …]
Dkms_panel_fitting.c62 mode->hdisplay, mode->vdisplay, in prepare_crtc()
105 igt_create_pattern_fb(d->drm_fd, mode->hdisplay / 2, mode->vdisplay / 2, in test_panel_fitting()
110 mode->hdisplay = 640; in test_panel_fitting()
119 mode->hdisplay = 800; in test_panel_fitting()
134 igt_plane_set_size(d->plane2, mode->hdisplay-200, mode->vdisplay-200); in test_panel_fitting()
152 mode->hdisplay = 1024; in test_panel_fitting()
175 igt_create_color_fb(display->drm_fd, mode.hdisplay, mode.vdisplay, in test_panel_fitting_fastset()
192 mode.hdisplay = 640; in test_panel_fitting_fastset()
203 mode.hdisplay = 800; in test_panel_fitting_fastset()
Dkms_universal_plane.c76 igt_create_color_fb(data->drm_fd, mode->hdisplay, mode->vdisplay, in functional_test_init()
81 igt_create_color_fb(data->drm_fd, mode->hdisplay, mode->vdisplay, in functional_test_init()
86 igt_create_color_fb(data->drm_fd, mode->hdisplay, mode->vdisplay, in functional_test_init()
249 test.mode->hdisplay, in functional_test_pipe()
252 IGT_FIXED(test.mode->hdisplay,0), in functional_test_pipe()
317 igt_create_color_fb(data->drm_fd, mode->hdisplay, mode->vdisplay, in sanity_test_init()
323 mode->hdisplay + 100, mode->vdisplay + 100, in sanity_test_init()
329 mode->hdisplay - 100, mode->vdisplay - 100, in sanity_test_init()
401 mode->hdisplay + 100, in sanity_test_pipe()
404 IGT_FIXED(mode->hdisplay,0), in sanity_test_pipe()
[all …]
Dkms_cursor_edge_walk.c196 mode->hdisplay - data->curw, mode->hdisplay, false); in test_edges()
198 mode->hdisplay - data->curw, mode->hdisplay, false); in test_edges()
202 test_edge(data, mode->hdisplay, -data->curw, in test_edges()
204 test_edge(data, -data->curw, mode->hdisplay, in test_edges()
209 test_edge(data, mode->hdisplay, -data->curw, in test_edges()
211 test_edge(data, -data->curw, mode->hdisplay, in test_edges()
240 igt_create_pattern_fb(data->drm_fd, mode->hdisplay, mode->vdisplay, in prepare_crtc()
250 data->jump_x = (mode->hdisplay - data->curw) / 2; in prepare_crtc()
Dkms_atomic_transition.c71 igt_create_fb(display->drm_fd, mode->hdisplay, mode->vdisplay, in run_primary_test()
223 if (cursor_width >= mode->hdisplay) in setup_parms()
224 cursor_width = mode->hdisplay; in setup_parms()
235 parms[i].width = mode->hdisplay; in setup_parms()
290 max_sprite_width = (sprite_width == mode->hdisplay); in setup_parms()
307 if (sprite_width >= mode->hdisplay) { in setup_parms()
310 sprite_width = mode->hdisplay; in setup_parms()
358 kmstest_pipe_name(pipe), mode->hdisplay, mode->vdisplay, in setup_parms()
466 igt_create_fb(display->drm_fd, mode->hdisplay, mode->vdisplay, in run_transition_test()
700 igt_fb_set_size(fb, plane, mode->hdisplay, mode->vdisplay); in set_combinations()
[all …]
Dkms_plane_cursor.c85 data->or.x = data->mode->hdisplay / 4; in test_init()
87 data->or.w = data->mode->hdisplay / 2; in test_init()
171 int sw = data->mode->hdisplay; in test_cursor_spots()
212 sw = data->mode->hdisplay; in test_cursor_overlay()
244 sw = data->mode->hdisplay; in test_cursor_primary()
278 sw = data->mode->hdisplay; in test_cursor_viewport()
Dkms_color.c61 int i, l = mode->hdisplay / 3; in paint_gradient_rectangles()
62 int rows_remaining = mode->hdisplay % 3; in paint_gradient_rectangles()
97 int i, l = mode->hdisplay / 3; in paint_rectangles()
98 int rows_remaining = mode->hdisplay % 3; in paint_rectangles()
302 mode->hdisplay, in test_pipe_degamma()
310 mode->hdisplay, in test_pipe_degamma()
384 mode->hdisplay, in test_pipe_gamma()
392 mode->hdisplay, in test_pipe_gamma()
470 mode->hdisplay, in test_pipe_legacy_gamma()
478 mode->hdisplay, in test_pipe_legacy_gamma()
[all …]
Dkms_hdmi_inject.c105 if (connector->modes[i].hdisplay == HDISPLAY_4K && in hdmi_inject_4k()
122 fb_id = igt_create_fb(drm_fd, connector->modes[i].hdisplay, in hdmi_inject_4k()
164 fb_id = igt_create_fb(drm_fd, connector->modes[0].hdisplay, in hdmi_inject_audio()
Dkms_plane.c86 igt_create_color_fb(data->drm_fd, mode->hdisplay, mode->vdisplay, in test_grab_crc()
139 mode->hdisplay, mode->vdisplay, in create_fb_for_mode__position()
146 igt_paint_color(cr, 0, 0, mode->hdisplay, mode->vdisplay, in create_fb_for_mode__position()
268 mode->hdisplay * 2, mode->vdisplay * 2, in create_fb_for_mode__panning()
276 igt_paint_color(cr, 0, 0, mode->hdisplay, mode->vdisplay, in create_fb_for_mode__panning()
280 mode->hdisplay, mode->vdisplay, in create_fb_for_mode__panning()
281 mode->hdisplay, mode->vdisplay, in create_fb_for_mode__panning()
320 igt_fb_set_position(&primary_fb, primary, mode->hdisplay, mode->vdisplay); in test_plane_panning_with_output()
636 width = mode->hdisplay; in test_format_plane()
752 igt_create_fb(data->drm_fd, mode->hdisplay, mode->vdisplay, in test_pixel_formats()
Dkms_flip_event_leak.c57 igt_create_color_fb(data->drm_fd, mode->hdisplay, mode->vdisplay, in test()
71 igt_create_color_fb(fd, mode->hdisplay, mode->vdisplay, in test()
Dkms_available_modes_crc.c82 mode->hdisplay, in generate_comparison_crc_list()
95 igt_paint_color(cr, 0, 0, mode->hdisplay, mode->vdisplay, in generate_comparison_crc_list()
110 igt_paint_color(cr, 0, 0, mode->hdisplay, mode->vdisplay, 1.0, 1.0, 1.0); in generate_comparison_crc_list()
181 w = mode->hdisplay; in setup_fb()
266 mode->hdisplay, mode->vdisplay, in prepare_crtc()
/external/libkmsxx/py/tests/
Dbig_fb.py53 mode.hdisplay, mode.vdisplay))
55 fbX = sum(mode.hdisplay for mode in mode_list)
86 'SRC_W': mode.hdisplay << 16,
90 'CRTC_W': mode.hdisplay,
96 screen_offset += mode.hdisplay
184 'SRC_W': mode.hdisplay << 16,
188 'CRTC_W': mode.hdisplay,
192 screen_offset += mode.hdisplay
216 'SRC_W': mode.hdisplay << 16,
220 'CRTC_W': mode.hdisplay,
[all …]
Dtest.py26 origfb = pykms.OmapFramebuffer(card, mode.hdisplay, mode.vdisplay, "XR24");
28 origfb = pykms.DumbFramebuffer(card, mode.hdisplay, mode.vdisplay, "XR24");
44 req.add_plane(plane, fb, crtc, dst=(0, 0, mode.hdisplay, mode.vdisplay))
Dmodeset_event.py41 fb = pykms.DumbFramebuffer(card, mode.hdisplay, mode.vdisplay, format);
58 "SRC_W": mode.hdisplay << 16,
62 "CRTC_W": mode.hdisplay,
Dtestmodes.py33 fb = pykms.DumbFramebuffer(card, mode.hdisplay, mode.vdisplay, "XR24");
41 req.add_plane(plane, fb, crtc, dst=(0, 0, mode.hdisplay, mode.vdisplay))
Dglobal_alpha_test.py29 fb1 = pykms.DumbFramebuffer(card, mode.hdisplay, mode.vdisplay, format);
32 fb2 = pykms.DumbFramebuffer(card, mode.hdisplay >> 1, mode.vdisplay >> 1, format);
/external/igt-gpu-tools/tools/
Dintel_dp_compliance.c170 uint16_t hdisplay; variable
195 uint16_t hdisplay; member
310 hdisplay = video_pattern_value[0]; in get_test_videopattern_data()
313 igt_info("Hdisplay = %d\n", hdisplay); in get_test_videopattern_data()
507 video_width = dp_conn->test_pattern.hdisplay; in setup_video_pattern_framebuffer()
546 video_width = dp_conn->test_pattern.hdisplay; in fill_framebuffer()
612 dp_conn->fb_width = c->modes[0].hdisplay; in set_test_mode()
616 dp_conn->test_pattern.mode.hdisplay = c->modes[0].hdisplay; in set_test_mode()
620 dp_conn->id, c->modes[0].hdisplay, c->modes[0].vdisplay); in set_test_mode()
625 if (c->modes[i].hdisplay == 800 && in set_test_mode()
[all …]
/external/swiftshader/src/WSI/
DDisplaySurfaceKHR.cpp38 pProperties->parameters.visibleRegion.width = connector->modes[0].hdisplay; in GetDisplayModeProperties()
59 pCapabilities->minSrcExtent.width = connector->modes[0].hdisplay; in GetDisplayPlaneCapabilities()
61 pCapabilities->maxSrcExtent.width = connector->modes[0].hdisplay; in GetDisplayPlaneCapabilities()
67 pCapabilities->minDstExtent.width = connector->modes[0].hdisplay; in GetDisplayPlaneCapabilities()
69 pCapabilities->maxDstExtent.width = connector->modes[0].hdisplay; in GetDisplayPlaneCapabilities()
126 pProperties->physicalDimensions.width = connector->modes[0].hdisplay * 25.4 / 96; in GetPhysicalDeviceDisplayProperties()
129 pProperties->physicalResolution.width = connector->modes[0].hdisplay; in GetPhysicalDeviceDisplayProperties()
160 creq.width = mode_info.hdisplay; in DisplaySurfaceKHR()
/external/libkmsxx/kms++/src/
Dvideomode.cpp98 …return fmt::format("{}x{}{}@{:.2f}", hdisplay, vdisplay, interlace() ? "i" : "", calculated_vrefre… in to_string_short()
115 string h = fmt::format("{}/{}/{}/{}/{}", hdisplay, hfp(), hsw(), hbp(), sync_to_char(hsync())); in to_string_long()
131 string h = fmt::format("{}/{}/{}/{}/{}", hdisplay, hfp(), hsw(), hbp(), sync_to_char(hsync())); in to_string_long_padded()
152 m.hdisplay = hact; in videomode_from_timings()
Dmodedb.cpp16 if (m.hdisplay != width || m.vdisplay != height) in find_from_table()
33 if (m.hdisplay != width || m.vdisplay != height) in find_from_table()
Dhelpers.cpp19 CPY(hdisplay); in drm_mode_to_video_mode()
50 CPY(hdisplay); in video_mode_to_drm_mode()
/external/igt-gpu-tools/tests/i915/
Di915_pm_lpsp.c73 .hdisplay = 1024, in edp_subtest()
113 c->modes[0].hdisplay > 1024); in edp_subtest()
124 buffer_id = create_fb(drm_fd, mode->hdisplay, mode->vdisplay); in edp_subtest()
172 buffer_id = create_fb(drm_fd, mode->hdisplay, mode->vdisplay); in non_edp_subtest()
/external/drm_hwcomposer/drm/
DDrmMode.cpp26 h_display_(m->hdisplay), in DrmMode()
43 return clock_ == m.clock && h_display_ == m.hdisplay && in operator ==()
53 m->hdisplay = h_display_; in ToDrmModeModeInfo()
/external/libkmsxx/kms++/inc/kms++/
Dvideomode.h21 uint16_t hdisplay, hsync_start, hsync_end, htotal, hskew; member
31 uint16_t hfp() const { return hsync_start - hdisplay; } in hfp()
/external/libkmsxx/utils/
Domap-wbcap.cpp30 m_capdev.set_format(pixfmt, m.hdisplay, m.vdisplay / (m.interlace() ? 2 : 1)); in WBStreamer()
105 req.add(m_plane, "CRTC_W", min((uint32_t)m_crtc->mode().hdisplay, fb->width())); in WBFlipState()
221 { "CRTC_W", min((uint32_t)m_crtc->mode().hdisplay, fb->width()) }, in queue_next()
328 uint32_t src_width = src_mode.hdisplay; in main()
331 uint32_t dst_width = src_mode.hdisplay; in main()

12345