Home
last modified time | relevance | path

Searched refs:n_planes (Results 1 – 20 of 20) sorted by relevance

/external/igt-gpu-tools/tests/
Dkms_plane_multiple.c68 static void test_init(data_t *data, enum pipe pipe, int n_planes) in test_init() argument
72 data->plane = calloc(n_planes, sizeof(*data->plane)); in test_init()
75 data->fb = calloc(n_planes, sizeof(struct igt_fb)); in test_init()
79 static void test_fini(data_t *data, igt_output_t *output, int n_planes) in test_fini() argument
184 x = malloc(pipe->n_planes * sizeof(*x)); in prepare_planes()
185 …igt_assert_f(x, "Failed to allocate %ld bytes for variable x\n", (long int) (pipe->n_planes * size… in prepare_planes()
186 y = malloc(pipe->n_planes * sizeof(*y)); in prepare_planes()
187 …igt_assert_f(y, "Failed to allocate %ld bytes for variable y\n", (long int) (pipe->n_planes * size… in prepare_planes()
188 size = malloc(pipe->n_planes * sizeof(*size)); in prepare_planes()
189 …igt_assert_f(size, "Failed to allocate %ld bytes for variable size\n", (long int) (pipe->n_planes in prepare_planes()
[all …]
Dkms_concurrent.c57 static void test_init(data_t *data, enum pipe pipe, int n_planes, in test_init() argument
64 data->plane = calloc(n_planes, sizeof(*data->plane)); in test_init()
67 data->fb = calloc(n_planes, sizeof(struct igt_fb)); in test_init()
89 static void test_fini(data_t *data, enum pipe pipe, int n_planes, in test_fini() argument
94 for (i = 0; i < n_planes; i++) { in test_fini()
171 x = malloc(p->n_planes * sizeof(*x)); in prepare_planes()
172 …igt_assert_f(x, "Failed to allocate %ld bytes for variable x\n", (long int) (p->n_planes * sizeof(… in prepare_planes()
174 y = malloc(p->n_planes * sizeof(*y)); in prepare_planes()
175 …igt_assert_f(y, "Failed to allocate %ld bytes for variable y\n", (long int) (p->n_planes * sizeof(… in prepare_planes()
177 size = malloc(p->n_planes * sizeof(*size)); in prepare_planes()
[all …]
Dkms_atomic_transition.c217 uint32_t n_planes = display->pipes[pipe].n_planes; in setup_parms() local
218 uint32_t n_overlays = 0, overlays[n_planes]; in setup_parms()
299 wm_setup_plane(display, pipe, (1 << n_planes) - 1, parms, false); in setup_parms()
325 igt_assert_f(n_planes >= 3, "No planes left to proceed with!"); in setup_parms()
340 n_planes--; in setup_parms()
341 igt_info("Reduced available planes to %d\n", n_planes); in setup_parms()
365 int n_planes; in prepare_fencing() local
369 n_planes = display->pipes[pipe].n_planes; in prepare_fencing()
370 timeline = calloc(sizeof(*timeline), n_planes); in prepare_fencing()
372 thread = calloc(sizeof(*thread), n_planes); in prepare_fencing()
[all …]
Dkms_plane.c229 int n_planes = data->display.pipes[pipe].n_planes; in test_plane_position() local
240 for (int plane = 1; plane < n_planes; plane++) in test_plane_position()
345 int n_planes = data->display.pipes[pipe].n_planes; in test_plane_panning() local
358 for (int plane = 1; plane < n_planes; plane++) in test_plane_panning()
787 igt_require(data->display.pipes[pipe].n_planes > 0); in run_tests_for_pipe_plane()
Dkms_universal_plane.c151 for (i = 0; i < display->pipes[pipe].n_planes; i++) in functional_test_pipe()
Dkms_color.c894 igt_require(pipe->n_planes >= 0); in run_tests_for_pipe()
Dkms_cursor_legacy.c376 igt_require(display->pipes[flip_pipe].n_planes > 1 && in prepare_flip_test()
/external/igt-gpu-tools/lib/
Digt_kms.c1564 int n_planes; in parse_planes() local
1566 n_planes = 0; in parse_planes()
1570 get_plane(tmp, DRM_PLANE_TYPE_PRIMARY, &planes[n_planes]); in parse_planes()
1571 planes[n_planes].index = n_planes; in parse_planes()
1573 n_planes++; in parse_planes()
1576 get_plane(tmp, DRM_PLANE_TYPE_OVERLAY, &planes[n_planes]); in parse_planes()
1577 planes[n_planes].index = n_planes; in parse_planes()
1579 n_planes++; in parse_planes()
1582 get_plane(tmp, DRM_PLANE_TYPE_CURSOR, &planes[n_planes]); in parse_planes()
1583 planes[n_planes].index = n_planes; in parse_planes()
[all …]
Digt_kms.h165 int n_planes; member
343 int n_planes; member
379 int n_planes; member
561 j__ < (display)->pipes[(pipe)].n_planes; j__++)
/external/mesa3d/src/intel/vulkan/
Danv_formats.c58 .n_planes = 1, \
73 .n_planes = 1, \
85 .n_planes = 1, \
101 .n_planes = 2, \
136 .n_planes = __n_planes, \
665 for (unsigned p = 0; p < anv_format->n_planes; p++) { in anv_get_image_format_features()
673 if (anv_format->n_planes > 1) in anv_get_image_format_features()
704 if (anv_format->n_planes > 1) in get_buffer_format_features()
771 mod_props->drmFormatModifierPlaneCount = anv_format->n_planes; in get_wsi_format_modifier_properties_list()
934 if (format->n_planes > 1 && in anv_get_image_format_properties()
[all …]
DgenX_state.c402 sampler->n_planes = 1; in genX()
439 sampler->n_planes = conversion->format->n_planes; in genX()
492 sampler->n_planes * 32, 32); in genX()
495 for (unsigned p = 0; p < sampler->n_planes; p++) { in genX()
Danv_descriptor_set.c294 surface_count[s] += sampler->n_planes; in anv_GetDescriptorSetLayoutSupport()
497 if (set_layout->binding[b].max_plane_count < sampler->n_planes) in anv_CreateDescriptorSetLayout()
498 set_layout->binding[b].max_plane_count = sampler->n_planes; in anv_CreateDescriptorSetLayout()
1333 for (unsigned p = 0; p < image_view->n_planes; p++) { in anv_descriptor_set_write_image_view()
1343 for (unsigned p = 0; p < sampler->n_planes; p++) in anv_descriptor_set_write_image_view()
1360 assert(image_view->n_planes == 1); in anv_descriptor_set_write_image_view()
1372 assert(image_view->n_planes == 1); in anv_descriptor_set_write_image_view()
1385 for (unsigned p = 0; p < image_view->n_planes; p++) { in anv_descriptor_set_write_image_view()
Danv_nir_lower_ycbcr_textures.c252 for (uint32_t p = 0; p < format->n_planes; p++) { in try_lower_tex_ycbcr()
273 for (uint32_t p = 0; p < format->n_planes; p++) { in try_lower_tex_ycbcr()
Danv_image.c440 if (image->n_planes != 1) { in add_aux_surface_if_supported()
790 image->n_planes = format->n_planes; in anv_image_create()
936 for (uint32_t p = 0; p < image->n_planes; ++p) { in anv_DestroyImage()
1034 image->n_planes = image->format->n_planes; in resolve_ahw_image()
2069 iview->n_planes = anv_image_aspect_get_planes(iview->aspect_mask); in anv_CreateImageView()
2204 for (uint32_t plane = 0; plane < iview->n_planes; plane++) { in anv_DestroyImageView()
Danv_blorp.c1566 assert(src_image->n_planes == dst_image->n_planes); in anv_image_msaa_resolve()
1783 assert(image->n_planes == 1); in anv_image_clear_color()
2013 assert(image->n_planes == 1); in anv_image_mcs_op()
2085 assert(image->n_planes == 1 || level == 0); in anv_image_ccs_op()
Danv_nir_apply_pipeline_layout.c933 desc_arr_index += immutable_samplers[i]->n_planes; in lower_tex_deref()
1284 uint8_t planes = samplers ? samplers[i]->n_planes : 1; in anv_nir_apply_pipeline_layout()
1326 uint8_t planes = samplers ? samplers[i]->n_planes : 1; in anv_nir_apply_pipeline_layout()
Danv_private.h3615 uint8_t n_planes; member
3674 return format != NULL ? format->n_planes : 0; in anv_get_format_planes()
3740 uint32_t n_planes; member
4140 unsigned n_planes; member
4319 uint32_t n_planes; member
Danv_android.c522 assert(image->n_planes == 1); in anv_image_from_gralloc()
DgenX_cmd_buffer.c2718 assert(desc->image_view->n_planes == 1); in emit_binding_table()
5334 assert(image->n_planes == 1); in cmd_buffer_begin_subpass()
5396 assert(image->n_planes == 1); in cmd_buffer_begin_subpass()
5417 assert(image->n_planes == 1); in cmd_buffer_begin_subpass()
/external/igt-gpu-tools/benchmarks/
Dkms_throughput.c50 display->pipes[i].n_planes); in get_output()
76 (*p)->crtc_id, (*p)->n_planes); in get_pipe()