Commit b0ff4b93 authored by Daniel Vetter's avatar Daniel Vetter

drm: Document that drm_dev_alloc doesn't need a parent

Possible for purely virtual debug devices.
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 955289c7
...@@ -535,6 +535,8 @@ static void drm_fs_inode_free(struct inode *inode) ...@@ -535,6 +535,8 @@ static void drm_fs_inode_free(struct inode *inode)
* The initial ref-count of the object is 1. Use drm_dev_ref() and * The initial ref-count of the object is 1. Use drm_dev_ref() and
* drm_dev_unref() to take and drop further ref-counts. * drm_dev_unref() to take and drop further ref-counts.
* *
* Note that for purely virtual devices @parent can be NULL.
*
* RETURNS: * RETURNS:
* Pointer to new DRM device, or NULL if out of memory. * Pointer to new DRM device, or NULL if out of memory.
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment