---
name: "drm_flip_work_init"
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_flip_work_init"
---

# drm\_flip\_work\_init(9)

initialize flip-work

## NAME

drm\_flip\_work\_init - initialize flip-work

## SYNOPSIS

**int drm\_flip\_work\_init(struct drm\_flip\_work \*** *work***, int** *size***, const char \*** *name***, drm\_flip\_func\_t** *func***);**

## ARGUMENTS

*work*

the flip-work to initialize

*size*

the max queue depth

*name*

debug name

*func*

the callback work function

## DESCRIPTION

Initializes/allocates resources for the flip-work

## RETURNS

Zero on success, error code on failure.

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