OpenCloudOS-Kernel/drivers/gpu/drm/selftests
Nirmoy Das 6e60d5ded0 drm/mm: add ig_frag selftest
This patch introduces fragmentation in the address range
and measures time taken by 10k and 20k insertions. ig_frag()
will fail if the time taken by 20k insertions takes more than
4 times of 10k insertions as we know that insertions should at
most scale quadratically.

v2:
introduce fragmentation by freeing every other node.
only test bottom-up and top-down for now.

v3:
fix incorrect mode check

Signed-off-by: Nirmoy Das <nirmoy.das@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/369076/
2020-06-08 15:14:16 +02:00
..
Makefile drm/selftests: Add drm_rect selftests 2019-11-28 13:33:43 +02:00
drm_cmdline_selftests.h drm/modes: Make sure to parse valid rotation value from cmdline 2020-02-12 18:32:54 +01:00
drm_mm_selftests.h drm/mm: add ig_frag selftest 2020-06-08 15:14:16 +02:00
drm_modeset_selftests.h drm/selftests: Add drm_rect selftests 2019-11-28 13:33:43 +02:00
drm_selftest.c
drm_selftest.h
test-drm_cmdline_parser.c drm/modes: Make sure to parse valid rotation value from cmdline 2020-02-12 18:32:54 +01:00
test-drm_damage_helper.c drm/selftest: fix spelling mistake "dimention" -> "dimension" 2018-12-11 15:19:42 +01:00
test-drm_dp_mst_helper.c drm/dp_mst: Add PBN calculation for DSC modes 2020-01-09 18:07:46 -05:00
test-drm_format.c drm/selftests: Add tests for drm_format_info* helpers 2018-11-02 09:57:58 +00:00
test-drm_framebuffer.c drm/selftests: fix spelling mistake "misssing" -> "missing" 2019-09-17 14:58:00 +02:00
test-drm_mm.c drm/mm: add ig_frag selftest 2020-06-08 15:14:16 +02:00
test-drm_modeset_common.c drm/selftest: Refactor test-drm_plane_helper 2018-10-22 10:30:50 +01:00
test-drm_modeset_common.h drm/selftests: Add drm_rect selftests 2019-11-28 13:33:43 +02:00
test-drm_plane_helper.c drm/selftest: Refactor test-drm_plane_helper 2018-10-22 10:30:50 +01:00
test-drm_rect.c drm/selftests: Add drm_rect selftests 2019-11-28 13:33:43 +02:00