drm_flip_work_init
Prev | Flip-work Helper Reference | Next

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

Prev | Up | Next
drm_flip_work_commit | Home | drm_flip_work_cleanup