drm_mode_object_find — look up a drm object with static lifetime
struct drm_mode_object * drm_mode_object_find ( | struct drm_device * dev, |
uint32_t id, | |
uint32_t type) ; |
This function is used to look up a modeset object. It will acquire a
reference for reference counted objects. This reference must be dropped again
by callind drm_mode_object_unreference
.