projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
955289c
)
drm: Document that drm_dev_alloc doesn't need a parent
author
Daniel Vetter
<daniel.vetter@ffwll.ch>
Mon, 24 Nov 2014 19:01:58 +0000
(20:01 +0100)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Tue, 25 Nov 2014 12:12:42 +0000
(13:12 +0100)
Possible for purely virtual debug devices.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_drv.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/drm_drv.c
b/drivers/gpu/drm/drm_drv.c
index 2e5c7d941313e796f3145310d2f21254893940b4..4f41377b0b80963f9ce84b3492412d025924652b 100644
(file)
--- a/
drivers/gpu/drm/drm_drv.c
+++ b/
drivers/gpu/drm/drm_drv.c
@@
-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
* drm_dev_unref() to take and drop further ref-counts.
*
+ * Note that for purely virtual devices @parent can be NULL.
+ *
* RETURNS:
* Pointer to new DRM device, or NULL if out of memory.
*/