Searched refs:dri2_format_table (Results 1 – 2 of 2) sorted by relevance
383 static const struct dri2_format_mapping dri2_format_table[] = { variable539 for (unsigned i = 0; i < ARRAY_SIZE(dri2_format_table); i++) { in dri2_get_mapping_by_fourcc()540 if (dri2_format_table[i].dri_fourcc == fourcc) in dri2_get_mapping_by_fourcc()541 return &dri2_format_table[i]; in dri2_get_mapping_by_fourcc()550 for (unsigned i = 0; i < ARRAY_SIZE(dri2_format_table); i++) { in dri2_get_mapping_by_format()551 if (dri2_format_table[i].dri_format == format) in dri2_get_mapping_by_format()552 return &dri2_format_table[i]; in dri2_get_mapping_by_format()561 for (unsigned i = 0; i < ARRAY_SIZE(dri2_format_table); i++) { in dri2_get_pipe_format_for_dri_format()562 if (dri2_format_table[i].dri_format == format) in dri2_get_pipe_format_for_dri_format()563 return dri2_format_table[i].pipe_format; in dri2_get_pipe_format_for_dri_format()[all …]
1784 - st/dri: fix dri2_format_table for argb1555 and rgb565