The kerneldoc header of ttm_bo_create() was referring to another (nonexisting) function and had a few obsolete or incorrect arguments.
Showing the changes to include/drm (1 of 1 file). Show all
Unified · Split
| @@ -485,13 +485,12 @@ extern int ttm_bo_init(struct ttm_bo_device *bdev, · 484 unmodified lines | |||
| 485 | void (*destroy) (struct ttm_buffer_object *)); | 485 | void (*destroy) (struct ttm_buffer_object *)); |
| 486 | 486 | ||
| 487 | /** | 487 | /** |
| 488 | * ttm_bo_synccpu_object_init | 488 | * ttm_bo_create |
| 489 | * | 489 | * |
| 490 | * @bdev: Pointer to a ttm_bo_device struct. | 490 | * @bdev: Pointer to a ttm_bo_device struct. |
| 491 | * @bo: Pointer to a ttm_buffer_object to be initialized. | ||
| 492 | * @size: Requested size of buffer object. | 491 | * @size: Requested size of buffer object. |
| 493 | * @type: Requested type of buffer object. | 492 | * @type: Requested type of buffer object. |
| 494 | * @flags: Initial placement flags. | 493 | * @placement: Initial placement. |
| 495 | * @page_alignment: Data alignment in pages. | 494 | * @page_alignment: Data alignment in pages. |
| 496 | * @interruptible: If needing to sleep while waiting for GPU resources, | 495 | * @interruptible: If needing to sleep while waiting for GPU resources, |
| 497 | * sleep interruptible. | 496 | * sleep interruptible. |