SYNOPSIS

void drm_dev_ref(struct drm_device * dev);

ARGUMENTS

dev

device to take reference of or NULL

DESCRIPTION

This increases the ref-count of dev by one. You *must* already own a reference when calling this. Use drm_dev_unref to drop this reference again.

This function never fails. However, this function does not provide *any* guarantee whether the device is alive or running. It only provides a reference to the object and the memory associated with it.

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

COPYRIGHT