mirror of
https://github.com/torvalds/linux.git
synced 2026-04-24 17:42:27 -04:00
drm/tests: Change "igt_" prefix to "drm_test_"
With the introduction of KUnit, IGT is no longer the only option to run the DRM unit tests, as the tests can be run through kunit-tool or on real hardware with CONFIG_KUNIT. Therefore, remove the "igt_" prefix from the tests and replace it with the "drm_test_" prefix, making the tests' names independent from the tool used. Signed-off-by: Maíra Canal <mairacanal@riseup.net> Acked-by: David Gow <davidgow@google.com> Acked-by: Maxime Ripard <maxime@cerno.tech> Link: https://patchwork.freedesktop.org/patch/msgid/20220911191756.203118-2-mairacanal@riseup.net
This commit is contained in:
@@ -73,7 +73,7 @@ static bool check_crtc_eq(struct drm_plane_state *plane_state,
|
||||
return true;
|
||||
}
|
||||
|
||||
static void igt_check_plane_state(struct kunit *test)
|
||||
static void drm_test_check_plane_state(struct kunit *test)
|
||||
{
|
||||
int ret;
|
||||
|
||||
@@ -223,7 +223,7 @@ static void igt_check_plane_state(struct kunit *test)
|
||||
}
|
||||
|
||||
static struct kunit_case drm_plane_helper_test[] = {
|
||||
KUNIT_CASE(igt_check_plane_state),
|
||||
KUNIT_CASE(drm_test_check_plane_state),
|
||||
{}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user