]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/ttm/tests: Use an init function from the helpers lib
authorKarolina Stolarek <karolina.stolarek@intel.com>
Wed, 12 Jun 2024 12:02:58 +0000 (14:02 +0200)
committerArunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com>
Mon, 24 Jun 2024 10:31:14 +0000 (16:01 +0530)
commitf7ed0a7e42c10cc0b6415203dcc3be7edbbbbdd1
treee691aeaae6dec42296d3bcd5371ab41ec639ef70
parentdc50165601f5c24b3121defca60d267a980e8dbb
drm/ttm/tests: Use an init function from the helpers lib

Add a new helper function that also initializes the device. Use it in
ttm_tt test suite and delete the local definition.

Signed-off-by: Karolina Stolarek <karolina.stolarek@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Somalapuram, Amaranath <asomalap@amd.com>
Signed-off-by: Arunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/235f110c1bdd2da7fac62ec03d177a5160dba1d5.1718192625.git.karolina.stolarek@intel.com
drivers/gpu/drm/ttm/tests/ttm_kunit_helpers.c
drivers/gpu/drm/ttm/tests/ttm_kunit_helpers.h
drivers/gpu/drm/ttm/tests/ttm_tt_test.c