Name
drm_mode_legacy_fb_format —
compute drm fourcc code from legacy description
Synopsis
uint32_t drm_mode_legacy_fb_format ( | uint32_t bpp, |
| | uint32_t depth); |
Arguments
bpp
bits per pixels
depth
bit depth per pixel
Description
Computes a drm fourcc pixel format code for the given bpp/depth values.
Useful in fbdev emulation code, since that deals in those values.