drm_fb_get_bpp_depth(9) 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.

AUTHORS

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

Lukas Wunner <[email protected]>

vga_switcheroo documentation

COPYRIGHT