Home
last modified time | relevance | path

Searched refs:igt_fb (Results 1 – 25 of 71) sorted by relevance

123

/external/igt-gpu-tools/lib/
Digt_fb.h80 typedef struct igt_fb { struct
126 void igt_init_fb(struct igt_fb *fb, int fd, int width, int height,
135 struct igt_fb *fb, uint64_t bo_size,
138 uint64_t modifier, struct igt_fb *fb);
142 struct igt_fb *fb /* out */);
145 struct igt_fb *fb /* out */);
149 struct igt_fb *fb /* out */);
153 struct igt_fb *fb /* out */);
156 unsigned int igt_fb_convert_with_stride(struct igt_fb *dst, struct igt_fb *src,
160 unsigned int igt_fb_convert(struct igt_fb *dst, struct igt_fb *src,
[all …]
Digt_vc4.h37 void vc4_fb_convert_plane_to_tiled(struct igt_fb *dst, void *dst_buf,
38 struct igt_fb *src, void *src_buf);
39 void vc4_fb_convert_plane_from_tiled(struct igt_fb *dst, void *dst_buf,
40 struct igt_fb *src, void *src_buf);
Digt_vc4.c277 static void vc4_fb_convert_plane_to_t_tiled(struct igt_fb *dst, void *dst_buf, in vc4_fb_convert_plane_to_t_tiled()
278 struct igt_fb *src, void *src_buf, in vc4_fb_convert_plane_to_t_tiled()
308 static void vc4_fb_convert_plane_from_t_tiled(struct igt_fb *dst, void *dst_buf, in vc4_fb_convert_plane_from_t_tiled()
309 struct igt_fb *src, void *src_buf, in vc4_fb_convert_plane_from_t_tiled()
357 static void vc4_fb_convert_plane_to_sand_tiled(struct igt_fb *dst, void *dst_buf, in vc4_fb_convert_plane_to_sand_tiled()
358 struct igt_fb *src, void *src_buf, in vc4_fb_convert_plane_to_sand_tiled()
413 static void vc4_fb_convert_plane_from_sand_tiled(struct igt_fb *dst, void *dst_buf, in vc4_fb_convert_plane_from_sand_tiled()
414 struct igt_fb *src, void *src_buf, in vc4_fb_convert_plane_from_sand_tiled()
469 void vc4_fb_convert_plane_to_tiled(struct igt_fb *dst, void *dst_buf, in vc4_fb_convert_plane_to_tiled()
470 struct igt_fb *src, void *src_buf) in vc4_fb_convert_plane_to_tiled()
[all …]
Digt_chamelium.h36 struct igt_fb;
187 igt_crc_t *chamelium_calculate_fb_crc(int fd, struct igt_fb *fb);
189 struct igt_fb *fb);
197 struct igt_fb *fb);
200 igt_crc_t *capture_crc, struct igt_fb *fb,
205 struct igt_fb *fb,
Digt_fb.c539 static unsigned fb_plane_width(const struct igt_fb *fb, int plane) in fb_plane_width()
552 static unsigned fb_plane_bpp(const struct igt_fb *fb, int plane) in fb_plane_bpp()
562 static unsigned fb_plane_height(const struct igt_fb *fb, int plane) in fb_plane_height()
575 static int fb_num_planes(const struct igt_fb *fb) in fb_num_planes()
585 void igt_init_fb(struct igt_fb *fb, int fd, int width, int height, in igt_init_fb()
612 static uint32_t calc_plane_stride(struct igt_fb *fb, int plane) in calc_plane_stride()
650 static uint64_t calc_plane_size(struct igt_fb *fb, int plane) in calc_plane_size()
689 static uint64_t calc_fb_size(struct igt_fb *fb) in calc_fb_size()
723 struct igt_fb fb; in igt_calc_fb_size()
796 static void clear_yuv_buffer(struct igt_fb *fb) in clear_yuv_buffer()
[all …]
Digt_draw.h59 drm_intel_context *context, struct igt_fb *fb,
63 void igt_draw_fill_fb(int fd, struct igt_fb *fb, uint32_t color);
/external/igt-gpu-tools/tests/
Dkms_plane.c75 struct igt_fb fb; in test_grab_crc()
133 struct igt_fb *fb /* out */) in create_fb_for_mode__position()
166 struct igt_fb primary_fb, sprite_fb; in test_plane_position_with_output()
262 struct igt_fb *fb /* out */) in create_fb_for_mode__panning()
302 struct igt_fb primary_fb; in test_plane_panning_with_output()
439 int color, igt_crc_t *crc, struct igt_fb *fb) in test_format_plane_color()
442 struct igt_fb old_fb = *fb; in test_format_plane_color()
526 struct igt_fb *fb) in test_format_plane_colors()
561 struct igt_fb *fb) in test_format_plane_rgb()
580 struct igt_fb *fb) in test_format_plane_yuv()
[all …]
Dkms_prime.c101 static void prepare_fb(int importer_fd, struct vgem_bo *scratch, struct igt_fb *fb) in prepare_fb()
111 static void import_fb(int importer_fd, struct igt_fb *fb, in import_fb()
130 static void set_fb(struct igt_fb *fb, in set_fb()
146 static void collect_crc_for_fb(int importer_fd, struct igt_fb *fb, igt_display_t *display, in collect_crc_for_fb()
164 struct igt_fb fb; in test_crc()
Dkms_busy.c33 set_fb_on_crtc(igt_display_t *dpy, int pipe, struct igt_fb *fb) in set_fb_on_crtc()
72 struct igt_fb *fb, unsigned ring, in flip_to_fb()
139 struct igt_fb fb[2]; in test_flip()
181 struct igt_fb *busy_fb, unsigned ring) in test_atomic_commit_hang()
219 struct igt_fb fb[2]; in test_hang()
261 struct igt_fb fb; in test_pageflip_modeset_hang()
Dkms_big_fb.c40 struct igt_fb small_fb, big_fb;
55 const struct igt_fb *fb, in init_buf()
74 struct igt_fb *dst_fb, int dx, int dy, in copy_pattern()
75 struct igt_fb *src_fb, int sx, int sy, in copy_pattern()
111 struct igt_fb *fb, in generate_pattern()
114 struct igt_fb pat_fb; in generate_pattern()
240 struct igt_fb *small_fb = &data->small_fb; in test_plane()
241 struct igt_fb *big_fb = &data->big_fb; in test_plane()
375 struct igt_fb fb; in test_pipe()
Dkms_cursor_legacy.c154 static igt_output_t *set_fb_on_crtc(igt_display_t *display, enum pipe pipe, struct igt_fb *fb_info) in set_fb_on_crtc()
181 static void set_cursor_on_pipe(igt_display_t *display, enum pipe pipe, struct igt_fb *fb) in set_cursor_on_pipe()
198 struct drm_mode_cursor *arg, struct igt_fb *fb) in populate_cursor_args()
248 static void flip_nonblocking(igt_display_t *display, enum pipe pipe_id, bool atomic, struct igt_fb in flip_nonblocking()
306 struct igt_fb *prim_fb, struct igt_fb *argb_fb, in transition_nonblocking()
338 const struct igt_fb *prim_fb, in prepare_flip_test()
339 struct igt_fb *argb_fb, in prepare_flip_test()
340 struct igt_fb *cursor_fb2) in prepare_flip_test()
390 struct igt_fb fb_info, fb_info2, argb_fb, cursor_fb, cursor_fb2; in flip()
504 struct igt_fb fb_info, cursor_fb, cursor_fb2, argb_fb; in basic_flip_cursor()
[all …]
Dkms_atomic.c284 struct igt_fb fb_primary, fb_overlay; in plane_primary_overlay_zpos()
369 struct igt_fb fb; in plane_overlay()
405 static void plane_primary(igt_pipe_t *pipe, igt_plane_t *plane, struct igt_fb *fb) in plane_primary()
407 struct igt_fb fb2; in plane_primary()
448 struct igt_fb fb; in test_only()
503 struct igt_fb fb; in plane_cursor()
550 struct igt_fb *fb) in plane_invalid_params()
552 struct igt_fb fb2; in plane_invalid_params()
639 struct igt_fb *fb) in crtc_invalid_params()
686 struct igt_fb *fb) in crtc_invalid_params_fence()
[all …]
Dkms_frontbuffer_tracking.c200 struct igt_fb *fb;
271 struct igt_fb prim_pri;
272 struct igt_fb prim_cur;
273 struct igt_fb prim_spr;
275 struct igt_fb scnd_pri;
276 struct igt_fb scnd_cur;
277 struct igt_fb scnd_spr;
279 struct igt_fb offscreen;
280 struct igt_fb big;
447 uint64_t tiling, int plane, struct igt_fb *fb) in create_fb()
[all …]
Dkms_universal_plane.c43 struct igt_fb red_fb, blue_fb, black_fb, yellow_fb;
50 struct igt_fb blue_fb, oversized_fb, undersized_fb;
55 struct igt_fb red_fb, blue_fb;
62 struct igt_fb biggreen_fb, smallred_fb, smallblue_fb;
537 struct igt_fb *bg, in cursor_leak_test_fini()
538 struct igt_fb *curs) in cursor_leak_test_fini()
574 struct igt_fb background_fb; in cursor_leak_test_pipe()
575 struct igt_fb cursor_fb[10]; in cursor_leak_test_pipe()
Dkms_mmap_write_crc.c48 struct igt_fb fb[2];
60 static char *dmabuf_mmap_framebuffer(int drm_fd, struct igt_fb *fb) in dmabuf_mmap_framebuffer()
77 struct igt_fb *fb = &data->fb[1]; in test()
Dkms_panel_fitting.c35 struct igt_fb fb1;
36 struct igt_fb fb2;
166 struct igt_fb red, green, blue; in test_panel_fitting_fastset()
Dkms_atomic_transition.c44 struct igt_fb *fb;
175 struct plane_parms *parms, struct igt_fb *sprite_fb, in set_sprite_wh()
208 struct igt_fb *primary_fb, in setup_parms()
209 struct igt_fb *argb_fb, in setup_parms()
210 struct igt_fb *sprite_fb, in setup_parms()
441 struct igt_fb fb, argb_fb, sprite_fb; in run_transition_test()
662 static unsigned set_combinations(igt_display_t *display, unsigned mask, struct igt_fb *fb) in set_combinations()
739 struct igt_fb fbs[2]; in run_modeset_tests()
Dkms_chamelium.c536 struct igt_fb *fb) in enable_output()
615 struct igt_fb fb; in test_link_status()
722 struct igt_fb *fb) in chamelium_get_pattern_fb()
749 struct igt_fb frame_fb, fb; in do_test_display()
883 struct igt_fb fb; in test_display_frame_dump()
991 struct igt_fb fb; in test_mode_timings()
1122 struct igt_fb fb; in test_display_aspect_ratio()
1836 struct igt_fb fb; in test_display_audio()
1922 struct igt_fb fb; in test_display_audio_edid()
1974 struct igt_fb dummy; in randomize_plane_stride()
[all …]
Dkms_draw_crc.c123 struct igt_fb fb; in get_method_crc()
200 struct igt_fb fb; in get_fill_crc()
220 struct igt_fb fb; in fill_fb_subtest()
Dkms_hdmi_inject.c85 struct igt_fb fb; in hdmi_inject_4k()
144 struct igt_fb fb; in hdmi_inject_audio()
Dkms_plane_alpha_blend.c34 …struct igt_fb xrgb_fb, argb_fb_0, argb_fb_cov_0, argb_fb_7e, argb_fb_cov_7e, argb_fb_fc, argb_fb_c…
39 static void __draw_gradient(struct igt_fb *fb, int w, int h, double a, cairo_t *cr) in __draw_gradient()
57 static void draw_gradient(struct igt_fb *fb, int w, int h, double a) in draw_gradient()
66 static void draw_gradient_coverage(struct igt_fb *fb, int w, int h, uint8_t a) in draw_gradient_coverage()
82 static void draw_squares(struct igt_fb *fb, int w, int h, double a) in draw_squares()
96 static void draw_squares_coverage(struct igt_fb *fb, int w, int h, uint8_t as) in draw_squares_coverage()
Dkms_pwrite_crc.c39 struct igt_fb fb[2];
51 struct igt_fb *fb = &data->fb[1]; in test()
Dkms_crtc_background_color.c34 struct igt_fb fb;
54 paint_background(data_t *data, struct igt_fb *fb, drmModeModeInfo *mode, in paint_background()
Dkms_rotation_crc.c33 struct igt_fb fb;
52 struct igt_fb fb;
53 struct igt_fb fb_reference;
54 struct igt_fb fb_unrotated;
55 struct igt_fb fb_flip;
122 struct igt_fb *fb, float o) in paint_squares()
651 struct igt_fb fb[MAX_FENCES+1] = {}; in test_plane_rotation_exhaust_fences()
/external/igt-gpu-tools/tests/i915/
Di915_fb_tiling.c32 struct igt_fb fb;

123