summaryrefslogtreecommitdiffstats
path: root/include/drm/ttm
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2014-05-23 12:58:06 +0900
committerDave Airlie <airlied@redhat.com>2014-05-26 12:54:09 +1000
commit59201052dff17d0cc8bc60bc9e89ad4924906ee8 (patch)
treefa4f4d3be608cc56ff880ad24d65d15419464f79 /include/drm/ttm
parent4cbe1bfa27dcc8e757c723f27e5a8e8b5fc32117 (diff)
downloadlinux-59201052dff17d0cc8bc60bc9e89ad4924906ee8.tar.gz
linux-59201052dff17d0cc8bc60bc9e89ad4924906ee8.tar.bz2
linux-59201052dff17d0cc8bc60bc9e89ad4924906ee8.zip
drm/ttm: fix kerneldoc of ttm_bo_create
The kerneldoc header of ttm_bo_create() was referring to another (nonexisting) function and had a few obsolete or incorrect arguments. Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Reviewed-by: David Herrmann <dh.herrmann@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm/ttm')
-rw-r--r--include/drm/ttm/ttm_bo_api.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/drm/ttm/ttm_bo_api.h b/include/drm/ttm/ttm_bo_api.h
index ee127ec33c60..7526c5bf5610 100644
--- a/include/drm/ttm/ttm_bo_api.h
+++ b/include/drm/ttm/ttm_bo_api.h
@@ -485,13 +485,12 @@ extern int ttm_bo_init(struct ttm_bo_device *bdev,
void (*destroy) (struct ttm_buffer_object *));
/**
- * ttm_bo_synccpu_object_init
+ * ttm_bo_create
*
* @bdev: Pointer to a ttm_bo_device struct.
- * @bo: Pointer to a ttm_buffer_object to be initialized.
* @size: Requested size of buffer object.
* @type: Requested type of buffer object.
- * @flags: Initial placement flags.
+ * @placement: Initial placement.
* @page_alignment: Data alignment in pages.
* @interruptible: If needing to sleep while waiting for GPU resources,
* sleep interruptible.