Skip to content

Commit 2bb04ea

Browse files
author
Thomas Hellström
committed
drm/ttm: Fix ttm_backup kerneldoc
The docs were not properly updated from an earlier version of the code. Fixes: e7b5d23 ("drm/ttm: Provide a shmem backup implementation") Cc: Christian König <christian.koenig@amd.com> Cc: Matthew Brost <matthew.brost@intel.com> Cc: Matthew Auld <matthew.auld@intel.com> Cc: dri-devel@lists.freedesktop.org Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com> Reviewed-by: Matthew Brost <matthew.brost@intel.com> Link: https://lore.kernel.org/r/20250502130101.3185-1-thomas.hellstrom@linux.intel.com
1 parent 35e4079 commit 2bb04ea

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

drivers/gpu/drm/ttm/ttm_backup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ void ttm_backup_drop(struct ttm_backup *backup, pgoff_t handle)
5555
* @backup: The struct backup pointer used to back up the page.
5656
* @dst: The struct page to copy into.
5757
* @handle: The handle returned when the page was backed up.
58-
* @intr: Try to perform waits interruptable or at least killable.
58+
* @intr: Try to perform waits interruptible or at least killable.
5959
*
6060
* Return: 0 on success, Negative error code on failure, notably
6161
* -EINTR if @intr was set to true and a signal is pending.

include/drm/ttm/ttm_backup.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ struct ttm_backup;
1616
* @handle: The handle to convert.
1717
*
1818
* Converts an opaque handle received from the
19-
* struct ttm_backoup_ops::backup_page() function to an (invalid)
19+
* ttm_backup_backup_page() function to an (invalid)
2020
* struct page pointer suitable for a struct page array.
2121
*
2222
* Return: An (invalid) struct page pointer.
@@ -45,8 +45,8 @@ static inline bool ttm_backup_page_ptr_is_handle(const struct page *page)
4545
*
4646
* Return: The handle that was previously used in
4747
* ttm_backup_handle_to_page_ptr() to obtain a struct page pointer, suitable
48-
* for use as argument in the struct ttm_backup_ops drop() or
49-
* copy_backed_up_page() functions.
48+
* for use as argument in the struct ttm_backup_drop() or
49+
* ttm_backup_copy_page() functions.
5050
*/
5151
static inline unsigned long
5252
ttm_backup_page_ptr_to_handle(const struct page *page)

0 commit comments

Comments
 (0)