drm_mode_legacy_fb_format9
Compute drm fourcc code from legacy description
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.