Home
last modified time | relevance | path

Searched refs:igt_buf_width (Results 1 – 12 of 12) sorted by relevance

/external/igt-gpu-tools/lib/
Drendercopy_i830.c142 igt_assert_lte(igt_buf_width(dst), 2048); in gen2_emit_target()
171 DRAW_XMAX(igt_buf_width(dst) - 1)); in gen2_emit_target()
183 igt_assert_lte(igt_buf_width(src), 2048); in gen2_emit_texture()
202 (igt_buf_width(src) - 1) << TM0S1_WIDTH_SHIFT | in gen2_emit_texture()
259 emit_vertex_normalized(batch, src_x + width, igt_buf_width(src)); in gen2_render_copyfunc()
264 emit_vertex_normalized(batch, src_x, igt_buf_width(src)); in gen2_render_copyfunc()
269 emit_vertex_normalized(batch, src_x, igt_buf_width(src)); in gen2_render_copyfunc()
Drendercopy_i915.c92 igt_assert_lte(igt_buf_width(src), 2048); in gen3_render_copyfunc()
112 (igt_buf_width(src) - 1) << MS3_WIDTH_SHIFT); in gen3_render_copyfunc()
132 igt_assert_lte(igt_buf_width(dst), 2048); in gen3_render_copyfunc()
162 DRAW_XMAX(igt_buf_width(dst) - 1)); in gen3_render_copyfunc()
Drendercopy_gen6.c83 igt_assert_lte(igt_buf_width(buf), 8192); in gen6_bind_buf()
115 ss->ss2.width = igt_buf_width(buf) - 1; in gen6_bind_buf()
359 OUT_BATCH((igt_buf_height(dst) - 1) << 16 | (igt_buf_width(dst) - 1)); in gen6_emit_drawing_rectangle()
581 emit_vertex_normalized(batch, src_x + width, igt_buf_width(src)); in gen6_render_copyfunc()
585 emit_vertex_normalized(batch, src_x, igt_buf_width(src)); in gen6_render_copyfunc()
589 emit_vertex_normalized(batch, src_x, igt_buf_width(src)); in gen6_render_copyfunc()
Drendercopy_gen4.c146 igt_assert_lte(igt_buf_width(buf), 8192); in gen4_bind_buf()
178 ss->ss2.width = igt_buf_width(buf) - 1; in gen4_bind_buf()
431 (igt_buf_width(dst) - 1)); in gen4_emit_drawing_rectangle()
705 emit_vertex_normalized(batch, src_x + width, igt_buf_width(src)); in gen4_render_copyfunc()
709 emit_vertex_normalized(batch, src_x, igt_buf_width(src)); in gen4_render_copyfunc()
713 emit_vertex_normalized(batch, src_x, igt_buf_width(src)); in gen4_render_copyfunc()
Drendercopy_gen8.c155 igt_assert_lte(igt_buf_width(buf), 16384); in gen8_bind_buf()
201 ss->ss2.width = igt_buf_width(buf) - 1; in gen8_bind_buf()
295 emit_vertex_normalized(batch, src_x + width, igt_buf_width(src)); in gen7_fill_vertex_buffer_data()
299 emit_vertex_normalized(batch, src_x, igt_buf_width(src)); in gen7_fill_vertex_buffer_data()
303 emit_vertex_normalized(batch, src_x, igt_buf_width(src)); in gen7_fill_vertex_buffer_data()
843 OUT_BATCH((igt_buf_height(dst) - 1) << 16 | (igt_buf_width(dst) - 1)); in gen6_emit_drawing_rectangle()
Drendercopy_gen9.c184 igt_assert_lte(igt_buf_width(buf), 16384); in gen8_bind_buf()
233 ss->ss2.width = igt_buf_width(buf) - 1; in gen8_bind_buf()
338 emit_vertex_normalized(batch, src_x + width, igt_buf_width(src)); in gen7_fill_vertex_buffer_data()
342 emit_vertex_normalized(batch, src_x, igt_buf_width(src)); in gen7_fill_vertex_buffer_data()
346 emit_vertex_normalized(batch, src_x, igt_buf_width(src)); in gen7_fill_vertex_buffer_data()
896 OUT_BATCH((igt_buf_height(dst) - 1) << 16 | (igt_buf_width(dst) - 1)); in gen6_emit_drawing_rectangle()
Drendercopy_gen7.c69 igt_assert_lte(igt_buf_width(buf), 16384); in gen7_bind_buf()
93 ss[2] = ((igt_buf_width(buf) - 1) << GEN7_SURFACE_WIDTH_SHIFT | in gen7_bind_buf()
224 OUT_BATCH((igt_buf_height(dst) - 1) << 16 | (igt_buf_width(dst) - 1)); in gen7_emit_drawing_rectangle()
Dintel_batchbuffer.h241 unsigned igt_buf_width(const struct igt_buf *buf);
Dgpu_cmds.c120 ss->ss2.width = igt_buf_width(buf) - 1; in gen7_fill_surface_state()
424 ss->ss2.width = igt_buf_width(buf) - 1; in gen8_fill_surface_state()
Dintel_batchbuffer.c512 unsigned igt_buf_width(const struct igt_buf *buf) in igt_buf_width() function
/external/igt-gpu-tools/tests/i915/
Dgem_render_copy.c109 int width = igt_buf_width(buf); in copy_linear_to_yf()
133 int width = igt_buf_width(buf); in copy_yf_to_linear()
211 igt_buf_width(buf), in scratch_buf_write_to_png()
223 return DIV_ROUND_UP(igt_buf_width(buf), 1024) * 128; in scratch_buf_aux_width()
288 igt_buf_width(buf), in scratch_buf_draw_pattern()
338 int width = igt_buf_width(dst); in scratch_buf_copy()
342 igt_assert_eq(igt_buf_width(dst), igt_buf_width(src)); in scratch_buf_copy()
458 igt_assert(igt_buf_width(buf) == width); in scratch_buf_init()
473 int width = igt_buf_width(buf); in scratch_buf_check()
477 igt_assert_eq(igt_buf_width(buf), igt_buf_width(ref)); in scratch_buf_check()
[all …]
Dgem_stress.c484 if (igt_buf_width(buf) < options.tile_size) in sanitize_stride()
488 igt_assert(igt_buf_width(buf) <= options.max_dimension); in sanitize_stride()
491 igt_assert(igt_buf_width(buf) >= options.tile_size); in sanitize_stride()
801 int sx = random() % (igt_buf_width(&src)-options.tile_size); in check_render_copyfunc()
803 int dx = random() % (igt_buf_width(&dst)-options.tile_size); in check_render_copyfunc()