diff options
author | Maxime Ripard <maxime@cerno.tech> | 2022-11-14 14:00:21 +0100 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2022-11-15 10:08:09 +0100 |
commit | 44a3928324e9757f7c321535756730be948941c2 (patch) | |
tree | 99bff2955d4c865ea28eb11a3b0907e79ee74222 /drivers/gpu/drm/tests/Makefile | |
parent | 99e49bfd9339a7fe9cb89202ad5f392573739e4f (diff) |
drm/tests: Add Kunit Helpers
As the number of kunit tests in KMS grows further, we start to have
multiple test suites that, for example, need to register a mock DRM
driver to interact with the KMS function they are supposed to test.
Let's add a file meant to provide those kind of helpers to avoid
duplication.
Reviewed-by: Noralf Trønnes <noralf@tronnes.org>
Tested-by: Mateusz Kwiatkowski <kfyatek+publicgit@gmail.com>
Link: https://lore.kernel.org/r/20220728-rpi-analog-tv-properties-v9-2-24b168e5bcd5@cerno.tech
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Diffstat (limited to 'drivers/gpu/drm/tests/Makefile')
-rw-r--r-- | drivers/gpu/drm/tests/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/tests/Makefile b/drivers/gpu/drm/tests/Makefile index 2d9f49b62ecb..b29ef1085cad 100644 --- a/drivers/gpu/drm/tests/Makefile +++ b/drivers/gpu/drm/tests/Makefile @@ -8,6 +8,7 @@ obj-$(CONFIG_DRM_KUNIT_TEST) += \ drm_format_helper_test.o \ drm_format_test.o \ drm_framebuffer_test.o \ + drm_kunit_helpers.o \ drm_mm_test.o \ drm_plane_helper_test.o \ drm_rect_test.o |