XenevaOS
Loading...
Searching...
No Matches
Public Attributes | List of all members
drm_mode_object Struct Reference

#include <drm_mode_object.h>

Collaboration diagram for drm_mode_object:
Collaboration graph
[legend]

Public Attributes

uint32_t id
 
uint32_t type
 
struct drm_object_properties * properties
 
struct kref refcount
 
void(* free_cb )(struct kref *kref)
 

Detailed Description

struct drm_mode_object - base structure for modeset objects @id: userspace visible identifier @type: type of the object, one of DRM_MODE_OBJECT_* @properties: properties attached to this object, including values @refcount: reference count for objects with dynamic lifetime @free_cb: free function callback, only set for objects with dynamic lifetime

Base structure for modeset objects visible to userspace. Objects can be looked up using drm_mode_object_find(). Besides basic uapi interface properties like @id and @type it provides two services:

Member Data Documentation

◆ free_cb

void(* drm_mode_object::free_cb) (struct kref *kref)

◆ id

uint32_t drm_mode_object::id

◆ properties

struct drm_object_properties* drm_mode_object::properties

◆ refcount

struct kref drm_mode_object::refcount

◆ type

uint32_t drm_mode_object::type

The documentation for this struct was generated from the following file: