Get the bpp/depth values for format
void drm_fb_get_bpp_depth(uint32_t format, unsigned int * depth, int * bpp);
format
pixel format (DRM_FORMAT_*)
depth
storage for the depth value
bpp
storage for the bpp value
This only supports RGB formats here for compat with code that doesn't use pixel formats directly yet.
Jesse Barnes <[email protected]>
Intel Corporation,
Initial version
Laurent Pinchart <[email protected]>
Ideas on board SPRL,
Driver internals
Daniel Vetter <[email protected]>
Intel Corporation,
Contributions all over the place