Searched refs:supported_mods (Results 1 – 2 of 2) sorted by relevance
289 int supported_mods = 0; in crocus_query_dmabuf_modifiers() local295 if (supported_mods < max) { in crocus_query_dmabuf_modifiers()297 modifiers[supported_mods] = all_modifiers[i]; in crocus_query_dmabuf_modifiers()300 external_only[supported_mods] = util_format_is_yuv(pfmt); in crocus_query_dmabuf_modifiers()303 supported_mods++; in crocus_query_dmabuf_modifiers()306 *count = supported_mods; in crocus_query_dmabuf_modifiers()
253 int supported_mods = 0; in iris_query_dmabuf_modifiers() local259 if (supported_mods < max) { in iris_query_dmabuf_modifiers()261 modifiers[supported_mods] = all_modifiers[i]; in iris_query_dmabuf_modifiers()264 external_only[supported_mods] = in iris_query_dmabuf_modifiers()269 supported_mods++; in iris_query_dmabuf_modifiers()272 *count = supported_mods; in iris_query_dmabuf_modifiers()