/external/igt-gpu-tools/tests/ |
D | kms_plane_scaling.c | 106 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 …]
|
D | kms_panel_fitting.c | 62 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()
|
D | kms_universal_plane.c | 76 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 …]
|
D | kms_cursor_edge_walk.c | 196 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()
|
D | kms_atomic_transition.c | 71 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 …]
|
D | kms_plane_cursor.c | 85 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()
|
D | kms_color.c | 61 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 …]
|
D | kms_hdmi_inject.c | 105 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()
|
D | kms_plane.c | 86 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()
|
D | kms_flip_event_leak.c | 57 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()
|
D | kms_available_modes_crc.c | 82 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/ |
D | big_fb.py | 53 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 …]
|
D | test.py | 26 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))
|
D | modeset_event.py | 41 fb = pykms.DumbFramebuffer(card, mode.hdisplay, mode.vdisplay, format); 58 "SRC_W": mode.hdisplay << 16, 62 "CRTC_W": mode.hdisplay,
|
D | testmodes.py | 33 fb = pykms.DumbFramebuffer(card, mode.hdisplay, mode.vdisplay, "XR24"); 41 req.add_plane(plane, fb, crtc, dst=(0, 0, mode.hdisplay, mode.vdisplay))
|
D | global_alpha_test.py | 29 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/ |
D | intel_dp_compliance.c | 170 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/ |
D | DisplaySurfaceKHR.cpp | 38 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/ |
D | videomode.cpp | 98 …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()
|
D | modedb.cpp | 16 if (m.hdisplay != width || m.vdisplay != height) in find_from_table() 33 if (m.hdisplay != width || m.vdisplay != height) in find_from_table()
|
D | helpers.cpp | 19 CPY(hdisplay); in drm_mode_to_video_mode() 50 CPY(hdisplay); in video_mode_to_drm_mode()
|
/external/igt-gpu-tools/tests/i915/ |
D | i915_pm_lpsp.c | 73 .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/ |
D | DrmMode.cpp | 26 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++/ |
D | videomode.h | 21 uint16_t hdisplay, hsync_start, hsync_end, htotal, hskew; member 31 uint16_t hfp() const { return hsync_start - hdisplay; } in hfp()
|
/external/libkmsxx/utils/ |
D | omap-wbcap.cpp | 30 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()
|