drm_mode_object_reference — incr the object refcnt
void drm_mode_object_reference ( | struct drm_mode_object * obj) ; |
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
.