Home
last modified time | relevance | path

Searched refs:allowed_modifiers (Results 1 – 2 of 2) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_uvd.c67 uint64_t *allowed_modifiers; in si_video_buffer_create_with_modifiers() local
72 allowed_modifiers = calloc(modifiers_count, sizeof(uint64_t)); in si_video_buffer_create_with_modifiers()
73 if (!allowed_modifiers) in si_video_buffer_create_with_modifiers()
80 allowed_modifiers[allowed_modifiers_count++] = modifiers[i]; in si_video_buffer_create_with_modifiers()
84 vl_video_buffer_create_as_resource(pipe, tmpl, allowed_modifiers, allowed_modifiers_count); in si_video_buffer_create_with_modifiers()
85 free(allowed_modifiers); in si_video_buffer_create_with_modifiers()
Dsi_texture.c1338 uint64_t *allowed_modifiers = (uint64_t *)calloc(allowed_mod_count, sizeof(uint64_t)); in si_is_dmabuf_modifier_supported() local
1339 if (!allowed_modifiers) in si_is_dmabuf_modifier_supported()
1346 free(allowed_modifiers); in si_is_dmabuf_modifier_supported()
1351 si_query_dmabuf_modifiers(screen, format, allowed_mod_count, allowed_modifiers, in si_is_dmabuf_modifier_supported()
1356 if (allowed_modifiers[i] != modifier) in si_is_dmabuf_modifier_supported()
1364 free(allowed_modifiers); in si_is_dmabuf_modifier_supported()
1412 uint64_t *allowed_modifiers = (uint64_t *)calloc(allowed_mod_count, sizeof(uint64_t)); in si_texture_create_with_modifiers() local
1413 if (!allowed_modifiers) { in si_texture_create_with_modifiers()
1418 …si_query_dmabuf_modifiers(screen, templ->format, allowed_mod_count, allowed_modifiers, NULL, &allo… in si_texture_create_with_modifiers()
1428 …if (modifiers[j] == allowed_modifiers[i] && si_modifier_supports_resource(screen, modifiers[j], te… in si_texture_create_with_modifiers()
[all …]