Home
last modified time | relevance | path

Searched refs:gfx_fd (Results 1 – 5 of 5) sorted by relevance

/external/igt-gpu-tools/tests/
Dkms_available_modes_crc.c32 int gfx_fd; member
81 fbid = igt_create_color_fb(data->gfx_fd, in generate_comparison_crc_list()
91 drmGetCap(data->gfx_fd, DRM_CAP_CURSOR_WIDTH, &w); in generate_comparison_crc_list()
92 drmGetCap(data->gfx_fd, DRM_CAP_CURSOR_HEIGHT, &h); in generate_comparison_crc_list()
94 cr = igt_get_cairo_ctx(data->gfx_fd, &data->primary_fb); in generate_comparison_crc_list()
99 igt_put_cairo_ctx(data->gfx_fd, &data->primary_fb, cr); in generate_comparison_crc_list()
105 igt_pipe_crc_get_current(data->gfx_fd, data->pipe_crc, &data->cursor_crc); in generate_comparison_crc_list()
109 cr = igt_get_cairo_ctx(data->gfx_fd, &data->primary_fb); in generate_comparison_crc_list()
111 igt_put_cairo_ctx(data->gfx_fd, &data->primary_fb, cr); in generate_comparison_crc_list()
116 igt_pipe_crc_get_current(data->gfx_fd, data->pipe_crc, &data->fullscreen_crc); in generate_comparison_crc_list()
[all …]
Dkms_crtc_background_color.c32 int gfx_fd; member
64 cr = igt_get_cairo_ctx(data->gfx_fd, &data->fb); in paint_background()
72 igt_put_cairo_ctx(data->gfx_fd, &data->fb, cr); in paint_background()
88 data->pipe_crc = igt_pipe_crc_new(data->gfx_fd, pipe, INTEL_PIPE_CRC_SOURCE_AUTO); in prepare_crtc()
92 fb_id = igt_create_fb(data->gfx_fd, in prepare_crtc()
118 igt_remove_fb(data->gfx_fd, &data->fb); in cleanup_crtc()
181 data.gfx_fd = drm_open_driver(DRIVER_INTEL);
182 igt_require_pipe_crc(data.gfx_fd);
183 igt_display_require(&data.display, data.gfx_fd);
Dkms_plane_alpha_blend.c32 int gfx_fd; member
165 data->pipe_crc = igt_pipe_crc_new(data->gfx_fd, pipe, INTEL_PIPE_CRC_SOURCE_AUTO); in prepare_crtc()
175 igt_remove_fb(data->gfx_fd, &data->xrgb_fb); in prepare_crtc()
176 igt_remove_fb(data->gfx_fd, &data->argb_fb_0); in prepare_crtc()
177 igt_remove_fb(data->gfx_fd, &data->argb_fb_cov_0); in prepare_crtc()
178 igt_remove_fb(data->gfx_fd, &data->argb_fb_7e); in prepare_crtc()
179 igt_remove_fb(data->gfx_fd, &data->argb_fb_fc); in prepare_crtc()
180 igt_remove_fb(data->gfx_fd, &data->argb_fb_cov_7e); in prepare_crtc()
181 igt_remove_fb(data->gfx_fd, &data->argb_fb_cov_fc); in prepare_crtc()
182 igt_remove_fb(data->gfx_fd, &data->argb_fb_100); in prepare_crtc()
[all …]
Dkms_rotation_crc.c50 int gfx_fd; member
132 cr = igt_get_cairo_ctx(data->gfx_fd, fb); in paint_squares()
146 igt_put_cairo_ctx(data->gfx_fd, fb, cr); in paint_squares()
151 igt_remove_fb(data->gfx_fd, &data->fb); in remove_fbs()
152 igt_remove_fb(data->gfx_fd, &data->fb_reference); in remove_fbs()
153 igt_remove_fb(data->gfx_fd, &data->fb_unrotated); in remove_fbs()
154 igt_remove_fb(data->gfx_fd, &data->fb_flip); in remove_fbs()
183 data->pipe_crc = igt_pipe_crc_new(data->gfx_fd, pipe, INTEL_PIPE_CRC_SOURCE_AUTO); in prepare_crtc()
257 igt_create_fb(data->gfx_fd, ref_w, ref_h, pixel_format, tiling, in prepare_fbs()
271 igt_remove_fb(data->gfx_fd, &data->fb_flip); in prepare_fbs()
[all …]
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_fence.c420 int gfx_fd = -1, sdma_fd = -1; in si_fence_get_fd() local
438 gfx_fd = ws->fence_export_sync_file(ws, sfence->gfx); in si_fence_get_fd()
439 if (gfx_fd == -1) { in si_fence_get_fd()
448 if (sdma_fd == -1 && gfx_fd == -1) in si_fence_get_fd()
451 return gfx_fd; in si_fence_get_fd()
452 if (gfx_fd == -1) in si_fence_get_fd()
456 sync_accumulate("radeonsi", &gfx_fd, sdma_fd); in si_fence_get_fd()
458 return gfx_fd; in si_fence_get_fd()