1. NAME

drm_format_plane_cpp - determine the bytes per pixel value

2. SYNOPSIS

int drm_format_plane_cpp(uint32_t  format , int  plane );

3. ARGUMENTS

format
    pixel format (DRM_FORMAT_*)

plane
    plane index

4. RETURNS

The bytes per pixel value for the specified plane.

5. AUTHORS

Jesse Barnes <>
Intel Corporation,
    Initial version

Laurent Pinchart <>
Ideas on board SPRL,
    Driver internals

6. COPYRIGHT