linux/drivers/gpu/drm/tests
Arunpravin Paneer Selvam c1696bf8d5 drm/tests: Add a test case for drm buddy clear allocation
Add a new test case for the drm buddy clear and dirty
allocation.

v2:(Matthew)
  - make size as u32
  - rename PAGE_SIZE with SZ_4K
  - dont fragment the address space for all the order allocation
    iterations. we can do it once and just increment and allocate
    the size.
  - create new mm with non power-of-two size to ensure the multi-root
    force_merge during fini.

v3:
  - add randomness in size calculation(Matthew)

Signed-off-by: Arunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Suggested-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240419063538.11957-3-Arunpravin.PaneerSelvam@amd.com
Signed-off-by: Christian König <christian.koenig@amd.com>
History 2024-04-22 19:44:16 +02:00
..
.kunitconfig drm/format-helper: Add KUnit tests for drm_fb_xrgb8888_to_rgb332() 2022-06-27 13:45:53 +02:00
drm_buddy_test.c drm/tests: Add a test case for drm buddy clear allocation 2024-04-22 19:44:16 +02:00
drm_client_modeset_test.c drm/tests: client-modeset: Remove call to drm_kunit_helper_free_device() 2023-07-31 14:19:57 +02:00
drm_cmdline_parser_test.c drm/modes: Introduce the tv_mode property as a command-line option 2022-11-24 12:42:39 +01:00
drm_connector_test.c drm/tests: connector: Add tests for drmm_connector_init 2024-02-28 16:38:33 +01:00
drm_damage_helper_test.c drm/tests: Change "igt_" prefix to "drm_test_" 2022-09-14 13:53:33 -03:00
drm_dp_mst_helper_test.c drm/dp_mst: Add kunit tests for drm_dp_get_vc_payload_bw() 2023-11-21 16:32:44 +02:00
drm_exec_test.c drm/exec: Pass in initial # of objects 2023-12-10 10:38:47 -08:00
drm_format_helper_test.c drm/format-helper: Pass format-conversion state to helpers 2023-11-14 10:16:53 +01:00
drm_format_test.c drm/tests: Change "igt_" prefix to "drm_test_" 2022-09-14 13:53:33 -03:00
drm_framebuffer_test.c drm/tests: Fix swapped drm_framebuffer tests parameter names 2023-06-28 20:39:15 -03:00
drm_gem_shmem_test.c drm/test: add a test suite for GEM objects backed by shmem 2023-12-04 09:32:25 +01:00
drm_kunit_helpers.c drm/tests: Add helper to create mock crtc 2024-02-28 16:36:36 +01:00
drm_managed_test.c drm/tests: managed: Add a simple test for drmm_managed_release 2024-01-17 10:38:54 +01:00
drm_mm_test.c drm for 6.9: 2024-03-13 18:34:05 -07:00
drm_modes_test.c drm/tests: modes: Remove call to drm_kunit_helper_free_device() 2023-07-31 14:19:57 +02:00
drm_plane_helper_test.c drm/plane_helper: Split into parameterized test cases 2022-10-20 08:13:30 -03:00
drm_probe_helper_test.c drm/tests: probe-helper: Remove call to drm_kunit_helper_free_device() 2023-07-31 14:19:57 +02:00
drm_rect_test.c drm/test: Add test cases for drm_rect_rotate_inv() 2023-04-24 16:33:26 -03:00
Makefile drm/test: add a test suite for GEM objects backed by shmem 2023-12-04 09:32:25 +01:00