drm_mode_legacy_fb_format9
Compute drm fourcc code from legacy description
Usage
uint32_t drm_mode_legacy_fb_format(uint32_t bpp, uint32_t depth);
Arguments
bpp
bits per pixels
depth
bit depth per pixel
Overview
Computes a drm fourcc pixel format code for the given bpp/depth values. Useful in fbdev emulation code, since that deals in those values.