diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-07-18 02:33:37 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-07-26 07:22:39 -0400 |
commit | 47f39800674e86776cadf8e5ac8c932d16194d2d (patch) | |
tree | 002be81b7f9e1b38d0a3e17f2d3dd201322e4b75 /drivers/gpu | |
parent | 3379c04cfa11043e26953c784a7202709b19658e (diff) |
drm: Update docs around gem_free_object
Not all places correctly stated that gem_free_object_unlocked is the
one to use.
Reported-by: Eric Anholt <eric@anholt.net
Cc: Eric Anholt <eric@anholt.net
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170718063337.31942-1-daniel.vetter@ffwll.ch
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/drm_gem_cma_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_gem_cma_helper.c b/drivers/gpu/drm/drm_gem_cma_helper.c index bc28e7575254..275ab872b34f 100644 --- a/drivers/gpu/drm/drm_gem_cma_helper.c +++ b/drivers/gpu/drm/drm_gem_cma_helper.c | |||
@@ -177,7 +177,7 @@ drm_gem_cma_create_with_handle(struct drm_file *file_priv, | |||
177 | * This function frees the backing memory of the CMA GEM object, cleans up the | 177 | * This function frees the backing memory of the CMA GEM object, cleans up the |
178 | * GEM object state and frees the memory used to store the object itself. | 178 | * GEM object state and frees the memory used to store the object itself. |
179 | * Drivers using the CMA helpers should set this as their | 179 | * Drivers using the CMA helpers should set this as their |
180 | * &drm_driver.gem_free_object callback. | 180 | * &drm_driver.gem_free_object_unlocked callback. |
181 | */ | 181 | */ |
182 | void drm_gem_cma_free_object(struct drm_gem_object *gem_obj) | 182 | void drm_gem_cma_free_object(struct drm_gem_object *gem_obj) |
183 | { | 183 | { |