---
name: "drm_format_num_planes"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/drm_format_num_planes"
---

# drm\_format\_num\_planes(9)

get the number of planes for format

## NAME

drm\_format\_num\_planes - get the number of planes for format

## SYNOPSIS

**int drm\_format\_num\_planes(uint32\_t** *format***);**

## ARGUMENTS

*format*

pixel format (DRM\_FORMAT\_\*)

## RETURNS

The number of planes used by the specified pixel format.

## AUTHORS

**Jesse Barnes** \<jesse.barnes@intel.com\>\
 Intel Corporation,

Initial version

**Laurent Pinchart** \<laurent.pinchart@ideasonboard.com\>\
 Ideas on board SPRL,

Driver internals

**Daniel Vetter** \<daniel.vetter@ffwll.ch\>\
 Intel Corporation,

Contributions all over the place

## COPYRIGHT
