drm/ttm/tests: Add tests for ttm_bo functions
authorKarolina Stolarek <karolina.stolarek@intel.com>
Wed, 29 Nov 2023 12:02:29 +0000 (13:02 +0100)
committerChristian König <christian.koenig@amd.com>
Thu, 14 Dec 2023 10:12:32 +0000 (11:12 +0100)
commit995279d280d1ef5cc349b6eafee4dccd720c99bf
treefa2222efd9a2fe10d3689ed8f25b1340705bd03d
parente6f7c641fae339cd5df28186677de1741e0c40c7
drm/ttm/tests: Add tests for ttm_bo functions

Test reservation and release of TTM buffer objects. Add tests to check
pin and unpin operations.

Signed-off-by: Karolina Stolarek <karolina.stolarek@intel.com>
Tested-by: Amaranath Somalapuram <Amaranath.Somalapuram@amd.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/fcd53970f55ae4be8c738e03f9fcf45366d20b47.1701257386.git.karolina.stolarek@intel.com
Signed-off-by: Christian König <christian.koenig@amd.com>
drivers/gpu/drm/ttm/tests/Makefile
drivers/gpu/drm/ttm/tests/ttm_bo_test.c [new file with mode: 0644]
drivers/gpu/drm/ttm/tests/ttm_kunit_helpers.c