Lines Matching refs:gfx_fd

32 	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()
118 igt_remove_fb(data->gfx_fd, &data->primary_fb); in generate_comparison_crc_list()
162 do_write(data->gfx_fd, data->gem_handle, (void*)data->buf, writesize); in fill_in_fb()
185 drmGetCap(data->gfx_fd, DRM_CAP_CURSOR_WIDTH, &w); in setup_fb()
186 drmGetCap(data->gfx_fd, DRM_CAP_CURSOR_HEIGHT, &h); in setup_fb()
206 igt_get_fb_tile_size(data->gfx_fd, tiling, bpp, in setup_fb()
213 data->gem_handle = gem_create(data->gfx_fd, gemsize); in setup_fb()
214 ret = __gem_set_tiling(data->gfx_fd, data->gem_handle, in setup_fb()
225 ret = __kms_addfb(data->gfx_fd, data->gem_handle, w, h, in setup_fb()
247 igt_remove_fb(data->gfx_fd, &data->primary_fb); in remove_fb()
251 igt_remove_fb(data->gfx_fd, &data->fb); in remove_fb()
265 igt_create_color_fb(data->gfx_fd, in prepare_crtc()
313 igt_wait_for_vblank(data->gfx_fd, pipe); in test_one_mode()
314 igt_pipe_crc_get_current(data->gfx_fd, data->pipe_crc, &current_crc); in test_one_mode()
390 data->pipe_crc = igt_pipe_crc_new(data->gfx_fd, pipe, in test_available_modes()
401 modePlane = drmModeGetPlane(data->gfx_fd, in test_available_modes()
444 data.gfx_fd = drm_open_driver_master(DRIVER_INTEL);
446 igt_display_require(&data.display, data.gfx_fd);
447 igt_require_pipe_crc(data.gfx_fd);