other versions
- jessie 3.16.56-1+deb8u1
DRM_MODE_LEGACY_FB_F(9) | DRM Core | DRM_MODE_LEGACY_FB_F(9) |
NAME¶
drm_mode_legacy_fb_format - compute drm fourcc code from legacy descriptionSYNOPSIS¶
uint32_t
drm_mode_legacy_fb_format(uint32_t bpp,
uint32_t depth);
ARGUMENTS¶
bppbits 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.AUTHORS¶
Jesse Barnes <jesse.barnes@intel.com>Initial version
Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Driver internals
Daniel Vetter <daniel.vetter@ffwll.ch>
Contributions all over the place
COPYRIGHT¶
May 2018 | Kernel Hackers Manual 3.16 |