Hi Fabien,
On Friday 19 Aug 2016 11:01:37 Fabien DESSENNE wrote:
Hi Laurent,
Daniel talked about a planned reorg from you around DRM formats (or something like this) and I have proposed to fix some missing parts with the XRGB444 formats.
Can you let us know if you can consider this fix as part of your reorg?
I don't, because it's already there :-) See "[PATCH v4 00/14] Centralize format information" posted to this mailing list.
The series removes the drm_fb_get_bpp_depth() function. You have several options:
- Use drm_format_info() to retrieve format information that include the depth and the number of bytes per pixel per plane.
- Use drm_format_plane_cpp() if you only need the number of bytes per pixel per plane.
- Check the formats directly in your driver instead of basing decisions on the number of bytes per pixel, as Daniel mentioned.
If you can't what would be the best option to get this fixed?