projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a1cbdb
)
drm: Add a note to drm_property_create() about property lifetime
author
Damien Lespiau
<
[email protected]
>
Fri, 31 Oct 2014 14:39:11 +0000
(14:39 +0000)
committer
Daniel Vetter
<
[email protected]
>
Fri, 31 Oct 2014 17:38:13 +0000
(18:38 +0100)
Cc: Chandra Konduru <
[email protected]
>
Cc: Daniel Vetter <
[email protected]
>
Signed-off-by: Damien Lespiau <
[email protected]
>
Signed-off-by: Daniel Vetter <
[email protected]
>
drivers/gpu/drm/drm_crtc.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/drm_crtc.c
b/drivers/gpu/drm/drm_crtc.c
index 4081d7ab840755e338ccf3652edd6de79ca4a47e..0f3c24c0981bf34864e380a2fb1253665b367fc9 100644
(file)
--- a/
drivers/gpu/drm/drm_crtc.c
+++ b/
drivers/gpu/drm/drm_crtc.c
@@
-3417,6
+3417,10
@@
void drm_fb_release(struct drm_file *priv)
* object with drm_object_attach_property. The returned property object must be
* freed with drm_property_destroy.
*
+ * Note that the DRM core keeps a per-device list of properties and that, if
+ * drm_mode_config_cleanup() is called, it will destroy all properties created
+ * by the driver.
+ *
* Returns:
* A pointer to the newly created property on success, NULL on failure.
*/