kernel-hacking-2024-linux-s.../include/drm/ttm
Kirill A. Shutemov fd37721803 mm, treewide: introduce NR_PAGE_ORDERS
NR_PAGE_ORDERS defines the number of page orders supported by the page
allocator, ranging from 0 to MAX_ORDER, MAX_ORDER + 1 in total.

NR_PAGE_ORDERS assists in defining arrays of page orders and allows for
more natural iteration over them.

[kirill.shutemov@linux.intel.com: fixup for kerneldoc warning]
  Link: https://lkml.kernel.org/r/20240101111512.7empzyifq7kxtzk3@box
Link: https://lkml.kernel.org/r/20231228144704.14033-1-kirill.shutemov@linux.intel.com
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Reviewed-by: Zi Yan <ziy@nvidia.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2024-01-08 15:27:15 -08:00
..
ttm_bo.h drm/ttm: Remove two unused function declarations 2023-08-10 09:12:08 +02:00
ttm_caching.h
ttm_device.h drm/ttm: let struct ttm_device_funcs be placed in rodata 2023-05-17 11:28:28 +03:00
ttm_execbuf_util.h
ttm_kmap_iter.h
ttm_placement.h
ttm_pool.h mm, treewide: introduce NR_PAGE_ORDERS 2024-01-08 15:27:15 -08:00
ttm_range_manager.h
ttm_resource.h
ttm_tt.h drm/ttm: Helper function to get TTM mem limit 2023-06-09 09:24:43 -04:00