drm_mode_object_reference(9) incr the object refcnt

SYNOPSIS

void drm_mode_object_reference(struct drm_mode_object * obj);

ARGUMENTS

obj

mode_object

DESCRIPTION

This functions increments the object's refcount if it is a refcounted modeset object. It is a no-op on any other object. References should be dropped again by calling drm_mode_object_unreference.

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