Home
last modified time | relevance | path

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

/external/igt-gpu-tools/lib/
Drendercopy_i830.c143 igt_assert_lte(igt_buf_height(dst), 2048); in gen2_emit_target()
170 OUT_BATCH(DRAW_YMAX(igt_buf_height(dst) - 1) | in gen2_emit_target()
184 igt_assert_lte(igt_buf_height(src), 2048); in gen2_emit_texture()
201 OUT_BATCH((igt_buf_height(src) - 1) << TM0S1_HEIGHT_SHIFT | in gen2_emit_texture()
260 emit_vertex_normalized(batch, src_y + height, igt_buf_height(src)); in gen2_render_copyfunc()
265 emit_vertex_normalized(batch, src_y + height, igt_buf_height(src)); in gen2_render_copyfunc()
270 emit_vertex_normalized(batch, src_y, igt_buf_height(src)); in gen2_render_copyfunc()
Drendercopy_i915.c93 igt_assert_lte(igt_buf_height(src), 2048); in gen3_render_copyfunc()
111 (igt_buf_height(src) - 1) << MS3_HEIGHT_SHIFT | in gen3_render_copyfunc()
133 igt_assert_lte(igt_buf_height(dst), 2048); in gen3_render_copyfunc()
161 OUT_BATCH(DRAW_YMAX(igt_buf_height(dst) - 1) | in gen3_render_copyfunc()
Drendercopy_gen6.c84 igt_assert_lte(igt_buf_height(buf), 8192); in gen6_bind_buf()
114 ss->ss2.height = igt_buf_height(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()
582 emit_vertex_normalized(batch, src_y + height, igt_buf_height(src)); in gen6_render_copyfunc()
586 emit_vertex_normalized(batch, src_y + height, igt_buf_height(src)); in gen6_render_copyfunc()
590 emit_vertex_normalized(batch, src_y, igt_buf_height(src)); in gen6_render_copyfunc()
Drendercopy_gen4.c147 igt_assert_lte(igt_buf_height(buf), 8192); in gen4_bind_buf()
177 ss->ss2.height = igt_buf_height(buf) - 1; in gen4_bind_buf()
430 OUT_BATCH((igt_buf_height(dst) - 1) << 16 | in gen4_emit_drawing_rectangle()
706 emit_vertex_normalized(batch, src_y + height, igt_buf_height(src)); in gen4_render_copyfunc()
710 emit_vertex_normalized(batch, src_y + height, igt_buf_height(src)); in gen4_render_copyfunc()
714 emit_vertex_normalized(batch, src_y, igt_buf_height(src)); in gen4_render_copyfunc()
Drendercopy_gen8.c156 igt_assert_lte(igt_buf_height(buf), 16384); in gen8_bind_buf()
200 ss->ss2.height = igt_buf_height(buf) - 1; in gen8_bind_buf()
296 emit_vertex_normalized(batch, src_y + height, igt_buf_height(src)); in gen7_fill_vertex_buffer_data()
300 emit_vertex_normalized(batch, src_y + height, igt_buf_height(src)); in gen7_fill_vertex_buffer_data()
304 emit_vertex_normalized(batch, src_y, igt_buf_height(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.c185 igt_assert_lte(igt_buf_height(buf), 16384); in gen8_bind_buf()
232 ss->ss2.height = igt_buf_height(buf) - 1; in gen8_bind_buf()
339 emit_vertex_normalized(batch, src_y + height, igt_buf_height(src)); in gen7_fill_vertex_buffer_data()
343 emit_vertex_normalized(batch, src_y + height, igt_buf_height(src)); in gen7_fill_vertex_buffer_data()
347 emit_vertex_normalized(batch, src_y, igt_buf_height(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.c70 igt_assert_lte(igt_buf_height(buf), 16384); in gen7_bind_buf()
94 (igt_buf_height(buf) - 1) << GEN7_SURFACE_HEIGHT_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.h242 unsigned igt_buf_height(const struct igt_buf *buf);
Dgpu_cmds.c119 ss->ss2.height = igt_buf_height(buf) - 1; in gen7_fill_surface_state()
423 ss->ss2.height = igt_buf_height(buf) - 1; in gen8_fill_surface_state()
Dintel_batchbuffer.c526 unsigned igt_buf_height(const struct igt_buf *buf) in igt_buf_height() function
/external/igt-gpu-tools/tests/i915/
Dgem_render_copy.c108 int height = igt_buf_height(buf); in copy_linear_to_yf()
132 int height = igt_buf_height(buf); in copy_yf_to_linear()
212 igt_buf_height(buf), in scratch_buf_write_to_png()
228 return DIV_ROUND_UP(igt_buf_height(buf), 512) * 32; in scratch_buf_aux_height()
289 igt_buf_height(buf), in scratch_buf_draw_pattern()
339 int height = igt_buf_height(dst); in scratch_buf_copy()
343 igt_assert_eq(igt_buf_height(dst), igt_buf_height(src)); in scratch_buf_copy()
459 igt_assert(igt_buf_height(buf) == height); in scratch_buf_init()
478 igt_assert_eq(igt_buf_height(buf), igt_buf_height(ref)); in scratch_buf_check()
500 int height = igt_buf_height(buf); in scratch_buf_check_all()
[all …]
Dgem_stress.c478 if (igt_buf_height(buf) > options.max_dimension) in sanitize_stride()
481 if (igt_buf_height(buf) < options.tile_size) in sanitize_stride()
489 igt_assert(igt_buf_height(buf) <= options.max_dimension); in sanitize_stride()
492 igt_assert(igt_buf_height(buf) >= options.tile_size); in sanitize_stride()
802 int sy = random() % (igt_buf_height(&src)-options.tile_size); in check_render_copyfunc()
804 int dy = random() % (igt_buf_height(&dst)-options.tile_size); in check_render_copyfunc()