1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/tests
Arunpravin Paneer Selvam 431c590c3a drm/tests: Add a unit test for range bias allocation
Allocate cleared blocks in the bias range when the DRM
buddy's clear avail is zero. This will validate the bias
range allocation in scenarios like system boot when no
cleared blocks are available and exercise the fallback
path too. The resulting blocks should always be dirty.

v1:(Matthew)
  - move the size to the variable declaration section.
  - move the mm.clear_avail init to allocator init.

Signed-off-by: Arunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240514145636.16253-2-Arunpravin.PaneerSelvam@amd.com
2024-05-16 12:50:14 +10: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 unit test for range bias allocation 2024-05-16 12:50:14 +10: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