Name

drm_fb_get_bpp_depth — get the bpp/depth values for format

Synopsis

void drm_fb_get_bpp_depth (uint32_t format,
 unsigned int * depth,
 int * bpp);
 

Arguments

format

pixel format (DRM_FORMAT_*)

depth

storage for the depth value

bpp

storage for the bpp value

Description

This only supports RGB formats here for compat with code that doesn't use pixel formats directly yet.