drm_gem_object_unreference(9) release a GEM BO reference

SYNOPSIS

void drm_gem_object_unreference(struct drm_gem_object * obj);

ARGUMENTS

obj

GEM buffer object

DESCRIPTION

This releases a reference to obj. Callers must hold the dev->struct_mutex lock when calling this function, even when the driver doesn't use dev->struct_mutex for anything.

For drivers not encumbered with legacy locking use drm_gem_object_unreference_unlocked instead.

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