Searched refs:supported_modifiers (Results 1 – 8 of 8) sorted by relevance
41 static const uint64_t supported_modifiers[] = { in nvc0_query_dmabuf_modifiers() local52 if (max > ARRAY_SIZE(supported_modifiers)) in nvc0_query_dmabuf_modifiers()53 max = ARRAY_SIZE(supported_modifiers); in nvc0_query_dmabuf_modifiers()56 max = ARRAY_SIZE(supported_modifiers); in nvc0_query_dmabuf_modifiers()63 modifiers[num] = supported_modifiers[i]; in nvc0_query_dmabuf_modifiers()
210 static const uint64_t supported_modifiers[] = { variable222 screen->supported_modifiers = supported_modifiers; in fd6_resource_screen_init()223 screen->num_supported_modifiers = ARRAY_SIZE(supported_modifiers); in fd6_resource_screen_init()
573 const uint64_t supported_modifiers[] = { variable590 if (max > ARRAY_SIZE(supported_modifiers)) in etna_screen_query_dmabuf_modifiers()591 max = ARRAY_SIZE(supported_modifiers); in etna_screen_query_dmabuf_modifiers()595 max = ARRAY_SIZE(supported_modifiers); in etna_screen_query_dmabuf_modifiers()605 modifiers[num_modifiers] = supported_modifiers[i]; in etna_screen_query_dmabuf_modifiers()
121 const uint64_t *supported_modifiers; member
1242 static const uint64_t supported_modifiers[] = { variable1359 if (!screen->supported_modifiers) { in fd_resource_screen_init()1360 screen->supported_modifiers = supported_modifiers; in fd_resource_screen_init()1361 screen->num_supported_modifiers = ARRAY_SIZE(supported_modifiers); in fd_resource_screen_init()
791 modifiers[num] = screen->supported_modifiers[i]; in fd_screen_query_dmabuf_modifiers()
1267 uint64_t *supported_modifiers; in has_supported_modifier() local1278 supported_modifiers = malloc(supported_modifiers_count * sizeof(uint64_t)); in has_supported_modifier()1279 if (!supported_modifiers) in has_supported_modifier()1284 supported_modifiers, NULL, in has_supported_modifier()1289 if (supported_modifiers[i] == modifiers[j]) in has_supported_modifier()1294 free(supported_modifiers); in has_supported_modifier()
349 } supported_modifiers[] = { variable394 for (i = 0; i < ARRAY_SIZE(supported_modifiers); i++) { in modifier_is_supported()395 if (supported_modifiers[i].modifier != modifier) in modifier_is_supported()398 return supported_modifiers[i].since_gen <= devinfo->gen; in modifier_is_supported()1398 for (i = 0; i < ARRAY_SIZE(supported_modifiers); i++) { in intel_query_dma_buf_modifiers()1399 uint64_t modifier = supported_modifiers[i].modifier; in intel_query_dma_buf_modifiers()