drm_gem_object_init(9) initialize an allocated shmem-backed GEM object

SYNOPSIS

int drm_gem_object_init(struct drm_device * dev, struct drm_gem_object * obj, size_t size);

ARGUMENTS

dev

drm_device the object should be initialized for

obj

drm_gem_object to initialize

size

object size

DESCRIPTION

Initialize an already allocated GEM object of the specified size with shmfs backing store.

AUTHORS

Jesse Barnes <[email protected]>
Intel Corporation,         
        

Initial version

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

Driver internals

Daniel Vetter <[email protected]>
Intel Corporation,         
        

Contributions all over the place

Lukas Wunner <[email protected]>

vga_switcheroo documentation

COPYRIGHT