---
name: "drm_fb_get_bpp_depth"
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_fb_get_bpp_depth"
---

# drm\_fb\_get\_bpp\_depth(9)

get the bpp/depth values for format

## NAME

drm\_fb\_get\_bpp\_depth - get the bpp/depth values for format

## SYNOPSIS

**void drm\_fb\_get\_bpp\_depth(uint32\_t** *format***, unsigned int \*** *depth***, int \*** *bpp***);**

## ARGUMENTS

*format*

pixel format (DRM\_FORMAT\_\*)

*depth*

storage for the depth value

*bpp*

storage for the bpp value

## DESCRIPTION

This only supports RGB formats here for compat with code that doesn't use pixel formats directly yet.

## 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
