drm_mode_object_find9
Look up a drm object with static lifetime
Arguments
dev
drm device
id
id of the mode object
type
type of the mode object
Overview
Note that framebuffers cannot be looked up with this functions - since those are reference counted, they need special treatment. Even with DRM_MODE_OBJECT_ANY (although that will simply return NULL rather than WARN_ON).