Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/ttm: Fix ttm_backup kerneldoc

The docs were not properly updated from an earlier version of the code.

Fixes: e7b5d23e5d47 ("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

+4 -4
+1 -1
drivers/gpu/drm/ttm/ttm_backup.c
··· 55 55 * @backup: The struct backup pointer used to back up the page. 56 56 * @dst: The struct page to copy into. 57 57 * @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. 59 59 * 60 60 * Return: 0 on success, Negative error code on failure, notably 61 61 * -EINTR if @intr was set to true and a signal is pending.
+3 -3
include/drm/ttm/ttm_backup.h
··· 16 16 * @handle: The handle to convert. 17 17 * 18 18 * 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) 20 20 * struct page pointer suitable for a struct page array. 21 21 * 22 22 * Return: An (invalid) struct page pointer. ··· 45 45 * 46 46 * Return: The handle that was previously used in 47 47 * 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. 50 50 */ 51 51 static inline unsigned long 52 52 ttm_backup_page_ptr_to_handle(const struct page *page)