Re: Need support to add NV12 format in mesa code

2023-06-17 Thread Marek Olšák
I don't think u_format.csv can describe it. It only describes formats of pixels in a single plane. All formats that have multiple planes where a single pixel stores only a subset of its bits in each plane are handled as special cases. Drivers also don't support such formats directly. For example, d

Need support to add NV12 format in mesa code

2023-06-16 Thread Gurpreet Kaur (QUIC)
Hi All, While trying to add support of GBM_FORMAT_NV12 format in mesa GBM, we are facing some issues to modify u_format.csv file. Progress till now: Initially we have faced gbm_dri_bo_create API failure because gbm_format_to_dri_format API was returning 0. Since gbm_dri_visual_table does not h