1. NAME

drm_format_num_planes - get the number of planes for format

2. SYNOPSIS

int drm_format_num_planes(uint32_t  format );

3. ARGUMENTS

format
    pixel format (DRM_FORMAT_*)

4. RETURNS

The number of planes used by the specified pixel format.

5. AUTHORS

Jesse Barnes <>
Intel Corporation,
    Initial version

Laurent Pinchart <>
Ideas on board SPRL,
    Driver internals

6. COPYRIGHT