linux-stable/drivers/gpu/drm/ttm/tests
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
..
.kunitconfig
Makefile drm/ttm/tests: Add tests for ttm_pool 2023-08-09 18:04:23 +02:00
ttm_device_test.c mm, treewide: introduce NR_PAGE_ORDERS 2024-01-08 15:27:15 -08:00
ttm_kunit_helpers.c drm/ttm/tests: Add tests for ttm_pool 2023-08-09 18:04:23 +02:00
ttm_kunit_helpers.h drm/ttm/tests: Add tests for ttm_pool 2023-08-09 18:04:23 +02:00
ttm_pool_test.c drm/ttm/tests: Fix type conversion in ttm_pool_test 2023-08-22 13:56:11 +02:00