drm_flip_work_init(9) 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 <[email protected]>
Intel Corporation,         
        

Initial version

Laurent Pinchart <[email protected]>
Ideas on board SPRL,         
        

Driver internals

COPYRIGHT