]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/ttm: document that ttm_bo_swapout deals with pages
authorThadeu Lima de Souza Cascardo <cascardo@igalia.com>
Mon, 9 Mar 2026 18:49:52 +0000 (15:49 -0300)
committerTvrtko Ursulin <tursulin@ursulin.net>
Thu, 12 Mar 2026 10:52:52 +0000 (10:52 +0000)
commitacee19f998234c4aec88c5fab364780312ba17e9
tree0f20bd08160d635598cda8302cdc74b03da26637
parentf08ceb71c5a5615577e7c841e1e00a89f495ab51
drm/ttm: document that ttm_bo_swapout deals with pages

Both the target parameter and return value of ttm_bo_swapout deal with
pages, not bytes.

Reported-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@igalia.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Tvrtko Ursulin <tursulin@ursulin.net>
Link: https://lore.kernel.org/r/20260309-ttm_bo_swapout_doc-v1-1-eeb08176a00b@igalia.com
drivers/gpu/drm/ttm/ttm_bo.c