Home
last modified time | relevance | path

Searched refs:surface_height (Results 1 – 25 of 41) sorted by relevance

12

/openbmc/qemu/ui/
H A Dsdl2-2d.c84 (surface_height(old_surface) != surface_height(new_surface)))) { in sdl2_2d_switch()
90 surface_height(new_surface)); in sdl2_2d_switch()
123 surface_height(new_surface)); in sdl2_2d_switch()
145 surface_height(scon->surface)); in sdl2_2d_redraw()
H A Dconsole-gl.c83 surface_height(surface), in surface_gl_create_texture()
89 surface_height(surface), in surface_gl_create_texture()
151 gh = surface_height(surface); in surface_gl_setup_viewport()
H A Ddbus-listener.c364 surface_height(ddl->ds), in dbus_scanout_map()
473 surface_height(ddl->ds), in dbus_scanout_map()
531 assert(surface_height(ddl->ds) == h); in dbus_scanout_texture()
579 surface_width(ds) * surface_height(ds) * 4, in dbus_cursor_dmabuf()
586 surface_height(ds), in dbus_cursor_dmabuf()
645 surface_width(ddl->ds), surface_height(ddl->ds)); in dbus_gl_refresh()
722 surface_stride(ddl->ds) * surface_height(ddl->ds), TRUE, in ddl_scanout()
728 ddl->proxy, surface_width(ddl->ds), surface_height(ddl->ds), in ddl_scanout()
760 if (x == 0 && y == 0 && w == surface_width(ddl->ds) && h == surface_height(ddl->ds)) { in dbus_gfx_update()
779 int height = surface_height(ddl->ds); in dbus_gl_gfx_switch()
H A Dgtk-egl.c97 vc->gfx.scale_y = (double)wh / surface_height(vc->gfx.ds); in gd_egl_draw()
124 vc->gfx.scale_y = (double)wh / surface_height(vc->gfx.ds); in gd_egl_draw()
193 trace_gd_switch(vc->label, surface_width(surface), surface_height(surface)); in gd_egl_switch()
197 surface_height(vc->gfx.ds) == surface_height(surface)) { in gd_egl_switch()
H A Dspice-display.c330 surface_height(ssd->ds) * 4; in qemu_spice_create_host_primary()
341 surface.height = surface_height(ssd->ds); in qemu_spice_create_host_primary()
395 surface_height(surface) == pixman_image_get_height(ssd->surface) && in qemu_spice_display_switch()
400 surface_height(surface), in qemu_spice_display_switch()
409 surface_height(surface)); in qemu_spice_display_switch()
416 surface_height(surface), in qemu_spice_display_switch()
860 surface_height(ssd->ds), in spice_gl_refresh()
898 surface_height(ssd->ds), in spice_gl_switch()
904 surface_height(ssd->ds), in spice_gl_switch()
911 surface_height(ssd->ds)); in spice_gl_switch()
H A Dgtk-gl-area.c162 trace_gd_switch(vc->label, surface_width(surface), surface_height(surface)); in gd_gl_area_switch()
166 surface_height(vc->gfx.ds) == surface_height(surface)) { in gd_gl_area_switch()
H A Dsdl2-gl.c104 (surface_height(old_surface) != surface_height(new_surface)))) { in sdl2_gl_switch()
H A Dgtk.c276 geo.min_height = surface_height(vc->gfx.ds) * VC_SCALE_MIN; in gd_update_geometry_hints()
280 geo.min_height = surface_height(vc->gfx.ds) * vc->gfx.scale_y; in gd_update_geometry_hints()
417 fbh = surface_height(vc->gfx.ds) * vc->gfx.scale_y; in gd_update()
499 trace_gd_switch(vc->label, surface_width(surface), surface_height(surface)); in gd_switch()
512 surface_height(vc->gfx.ds) == surface_height(surface)) { in gd_switch()
528 surface_height(surface), in gd_switch()
534 surface_height(surface), in gd_switch()
839 fbh = surface_height(vc->gfx.ds); in gd_draw_event()
901 fbh = surface_height(vc->gfx.ds) * vc->gfx.scale_y; in gd_motion_event()
931 y >= surface_height(vc->gfx.ds)) { in gd_motion_event()
[all …]
H A Dsdl2.c104 surface_height(scon->surface), in sdl2_window_create()
151 surface_height(scon->surface)); in sdl2_window_resize()
324 y, 0, surface_height(scon->surface)); in sdl_send_mouse_event()
442 height = (surface_height(scon->surface) * width) / in handle_keydown()
H A Degl-helpers.c171 glReadPixels(0, 0, surface_width(dst), surface_height(dst), in egl_fb_read()
178 assert(surface_height(dst) == src->height); in egl_fb_read_rect()
/openbmc/linux/drivers/gpu/drm/i915/gt/
H A Dgen7_renderclear.c39 u32 surface_height; member
71 bv->surface_height = 16 * 16; in batch_get_defaults()
83 bv->surface_height = 16 * 8; in batch_get_defaults()
88 bv->size = bv->surface_start + bv->surface_height * bv->surface_width; in batch_get_defaults()
146 u32 surface_h = bv->surface_height; in gen7_fill_surface_state()
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_fbdev_dma.c90 sizes->surface_width, sizes->surface_height, in drm_fbdev_dma_helper_fb_probe()
95 sizes->surface_height, format); in drm_fbdev_dma_helper_fb_probe()
131 info->screen_size = sizes->surface_height * fb->pitches[0]; in drm_fbdev_dma_helper_fb_probe()
H A Ddrm_fbdev_generic.c84 sizes->surface_width, sizes->surface_height, in drm_fbdev_generic_helper_fb_probe()
89 sizes->surface_height, format); in drm_fbdev_generic_helper_fb_probe()
H A Ddrm_fb_helper.c1607 sizes->surface_height = in __drm_fb_helper_find_sizes()
1608 max_t(u32, desired_mode->vdisplay + y, sizes->surface_height); in __drm_fb_helper_find_sizes()
1653 sizes->surface_height *= drm_fbdev_overalloc; in drm_fb_helper_find_sizes()
1654 sizes->surface_height /= 100; in drm_fb_helper_find_sizes()
1655 if (sizes->surface_height > config->max_height) { in drm_fb_helper_find_sizes()
1658 sizes->surface_height = config->max_height; in drm_fb_helper_find_sizes()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/
H A Ddisplay_rq_dlg_calc_30.c291 unsigned int surface_height) in get_meta_and_pte_attr() argument
431 if (surface_height < blk256_height) { in get_meta_and_pte_attr()
432 …lculation ignored surface_height=%u < blk256_height=%u\n", __func__, surface_height, blk256_height… in get_meta_and_pte_attr()
434 if (temp > surface_height) { in get_meta_and_pte_attr()
435 if (surface_height >= vp_height) in get_meta_and_pte_attr()
436 temp = surface_height; in get_meta_and_pte_attr()
438 …size calculation ignored surface_height=%u < vp_height=%u\n", __func__, surface_height, vp_height); in get_meta_and_pte_attr()
668 unsigned int surface_height = 0; in get_surf_rq_param() local
677 surface_height = pipe_param->src.surface_height_y / 2.0; in get_surf_rq_param()
683 surface_height = pipe_param->src.surface_height_y; in get_surf_rq_param()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn31/
H A Ddisplay_rq_dlg_calc_31.c314 unsigned int surface_height) in get_meta_and_pte_attr() argument
451 if (surface_height < blk256_height) { in get_meta_and_pte_attr()
452 …lculation ignored surface_height=%u < blk256_height=%u\n", __func__, surface_height, blk256_height… in get_meta_and_pte_attr()
454 if (temp > surface_height) { in get_meta_and_pte_attr()
455 if (surface_height >= vp_height) in get_meta_and_pte_attr()
456 temp = surface_height; in get_meta_and_pte_attr()
458 …size calculation ignored surface_height=%u < vp_height=%u\n", __func__, surface_height, vp_height); in get_meta_and_pte_attr()
663 unsigned int surface_height = 0; in get_surf_rq_param() local
672 surface_height = pipe_param->src.surface_height_y / 2.0; in get_surf_rq_param()
678 surface_height = pipe_param->src.surface_height_y; in get_surf_rq_param()
[all …]
/openbmc/linux/drivers/gpu/drm/exynos/
H A Dexynos_drm_fbdev.c101 sizes->surface_width, sizes->surface_height, in exynos_drm_fbdev_create()
105 mode_cmd.height = sizes->surface_height; in exynos_drm_fbdev_create()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn314/
H A Ddisplay_rq_dlg_calc_314.c402 unsigned int surface_height) in get_meta_and_pte_attr() argument
539 if (surface_height < blk256_height) { in get_meta_and_pte_attr()
540 …lculation ignored surface_height=%u < blk256_height=%u\n", __func__, surface_height, blk256_height… in get_meta_and_pte_attr()
542 if (temp > surface_height) { in get_meta_and_pte_attr()
543 if (surface_height >= vp_height) in get_meta_and_pte_attr()
544 temp = surface_height; in get_meta_and_pte_attr()
546 …size calculation ignored surface_height=%u < vp_height=%u\n", __func__, surface_height, vp_height); in get_meta_and_pte_attr()
751 unsigned int surface_height = 0; in get_surf_rq_param() local
760 surface_height = pipe_param->src.surface_height_y / 2.0; in get_surf_rq_param()
766 surface_height = pipe_param->src.surface_height_y; in get_surf_rq_param()
[all …]
/openbmc/linux/drivers/gpu/drm/msm/
H A Dmsm_fbdev.c83 sizes->surface_height, sizes->surface_bpp, in msm_fbdev_create()
88 sizes->surface_height, pitch, format); in msm_fbdev_create()
/openbmc/qemu/include/ui/
H A Dsurface.h71 static inline int surface_height(DisplaySurface *s) in surface_height() function
/openbmc/linux/drivers/gpu/drm/gma500/
H A Dfbdev.c179 sizes->surface_height; in psb_fbdev_fb_probe()
190 mode_cmd.height = sizes->surface_height; in psb_fbdev_fb_probe()
/openbmc/linux/drivers/gpu/drm/omapdrm/
H A Domap_fbdev.c146 sizes->surface_height, sizes->surface_bpp, in omap_fbdev_create()
153 mode_cmd.height = sizes->surface_height; in omap_fbdev_create()
/openbmc/linux/drivers/gpu/drm/qxl/
H A Dqxl_cmd.c329 uint32_t surface_width, surface_height; in qxl_io_update_area() local
340 surface_height = surf->surf.height; in qxl_io_update_area()
343 area->right > surface_width || area->bottom > surface_height) in qxl_io_update_area()
/openbmc/qemu/hw/display/
H A Dvmware_vga.c343 if (y + h > surface_height(surface)) { in vmsvga_verify_rect()
345 surface_height(surface), in vmsvga_verify_rect()
369 h = surface_height(surface); in vmsvga_update_rect()
832 ret = s->new_height ? s->new_height : surface_height(surface); in vmsvga_value_read()
1124 s->new_height != surface_height(surface) || in vmsvga_check_size()
H A Dxlnx_dp.c1163 (surface_height(s->g_plane.surface) in xlnx_dp_blend_surface()
1164 != surface_height(s->v_plane.surface))) { in xlnx_dp_blend_surface()
1179 surface_height(s->g_plane.surface)); in xlnx_dp_blend_surface()
1185 surface_height(s->g_plane.surface)); in xlnx_dp_blend_surface()

12