drm/ttm: Introduce KUnit test
authorKarolina Stolarek <karolina.stolarek@intel.com>
Tue, 8 Aug 2023 09:51:12 +0000 (11:51 +0200)
committerChristian König <christian.koenig@amd.com>
Wed, 9 Aug 2023 16:04:22 +0000 (18:04 +0200)
commite3912d09bf8ddd8e274118d4c9cc550d9665115d
tree8e882209309bfafca84da0332e31574e55bd5148
parent79cdc56c4a542526d5b4e255d297ab842887e02b
drm/ttm: Introduce KUnit test

Add the initial version of unit tests for ttm_device struct, together
with helper functions.

Signed-off-by: Karolina Stolarek <karolina.stolarek@intel.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/3d1cc45c8a0cf536b92a850e0025f6c555de0169.1691487006.git.karolina.stolarek@intel.com
Signed-off-by: Christian König <christian.koenig@amd.com>
drivers/gpu/drm/Kconfig
drivers/gpu/drm/ttm/Makefile
drivers/gpu/drm/ttm/tests/.kunitconfig [new file with mode: 0644]
drivers/gpu/drm/ttm/tests/Makefile [new file with mode: 0644]
drivers/gpu/drm/ttm/tests/ttm_device_test.c [new file with mode: 0644]
drivers/gpu/drm/ttm/tests/ttm_kunit_helpers.c [new file with mode: 0644]
drivers/gpu/drm/ttm/tests/ttm_kunit_helpers.h [new file with mode: 0644]