diff mbox series

[3/3] drm/prime: Update docs

Message ID 20220225132213.1435026-3-gwan-gyeong.mun@intel.com (mailing list archive)
State New, archived
Headers show
Series [1/3] drm/doc: Fix typos and update outdated structure and API names | expand

Commit Message

Gwan-gyeong Mun Feb. 25, 2022, 1:22 p.m. UTC
It updates the name of the structure with the target function callback is
incorrect
 : drm_gem_object_funcs.gem_prime_import_sg_table to drm_driver.gem_prime_import_sg_table
And it updates the part where the description and the function callback
name are different.
 : drm_gem_object_funcs.pin to drm_gem_object_funcs.unpin

Signed-off-by: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com>
---
 drivers/gpu/drm/drm_prime.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/drivers/gpu/drm/drm_prime.c b/drivers/gpu/drm/drm_prime.c
index e3f09f18110c..87595f5871f9 100644
--- a/drivers/gpu/drm/drm_prime.c
+++ b/drivers/gpu/drm/drm_prime.c
@@ -588,7 +588,7 @@  EXPORT_SYMBOL(drm_gem_map_attach);
  * @dma_buf: buffer to detach from
  * @attach: attachment to be detached
  *
- * Calls &drm_gem_object_funcs.pin for device specific handling.  Cleans up
+ * Calls &drm_gem_object_funcs.unpin for device specific handling.  Cleans up
  * &dma_buf_attachment from drm_gem_map_attach(). This can be used as the
  * &dma_buf_ops.detach callback.
  */
@@ -842,7 +842,7 @@  EXPORT_SYMBOL(drm_prime_pages_to_sg);
  * of the the buffer described by the provided sg_table.
  *
  * This is useful for implementing
- * &drm_gem_object_funcs.gem_prime_import_sg_table.
+ * &drm_driver.gem_prime_import_sg_table.
  */
 unsigned long drm_prime_get_contiguous_size(struct sg_table *sgt)
 {