drm_mode_object_find(9)

drm_mode_object_find9

Look up a drm object with static lifetime

Usage

struct drm_mode_object * drm_mode_object_find(struct drm_device * dev, uint32_t id, uint32_t type);

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).

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

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.