summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_crtc.c
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2014-10-31 14:39:11 +0000
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-10-31 18:38:13 +0100
commit3b5b9932fb547a7c89169a1c43a73beee7183ed0 (patch)
treee59550e1d8b4a1faa6b8066c0ca91a2403801dd2 /drivers/gpu/drm/drm_crtc.c
parent5a1cbdb0fb6748a52a33f4ccd5d49486d7479fbb (diff)
downloadop-kernel-dev-3b5b9932fb547a7c89169a1c43a73beee7183ed0.zip
op-kernel-dev-3b5b9932fb547a7c89169a1c43a73beee7183ed0.tar.gz
drm: Add a note to drm_property_create() about property lifetime
Cc: Chandra Konduru <chandra.konduru@intel.com> Cc: Daniel Vetter <daniel.vetter@intel.com> Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/drm_crtc.c')
-rw-r--r--drivers/gpu/drm/drm_crtc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c
index 4081d7a..0f3c24c 100644
--- 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.
*/
OpenPOWER on IntegriCloud