[PATCH 3/3] drm/prime: Update docs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
---
 drivers/gpu/drm/drm_prime.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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)
 {
-- 
2.34.1




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux