diff options
author | Maxime Ripard <maxime@cerno.tech> | 2022-12-01 16:11:32 +0100 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2022-12-08 09:41:26 +0100 |
commit | 0c3627c744068fe95b235c9aa25d2bd56bde7e55 (patch) | |
tree | d0e253e912383c1c4aa744f922f45ec916a50fb4 /include/drm/drm_kunit_helpers.h | |
parent | drm: panel-orientation-quirks: Add quirk for DynaBook K50 (diff) | |
download | linux-0c3627c744068fe95b235c9aa25d2bd56bde7e55.tar.xz linux-0c3627c744068fe95b235c9aa25d2bd56bde7e55.zip |
drm/tests: helpers: Move the helper header to include/drm
We'll need to use those helpers from drivers too, so let's move it to a
more visible location.
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://lore.kernel.org/r/20221123-rpi-kunit-tests-v3-1-4615a663a84a@cerno.tech
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Diffstat (limited to 'include/drm/drm_kunit_helpers.h')
-rw-r--r-- | include/drm/drm_kunit_helpers.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/drm/drm_kunit_helpers.h b/include/drm/drm_kunit_helpers.h new file mode 100644 index 000000000000..20ab6eec4c89 --- /dev/null +++ b/include/drm/drm_kunit_helpers.h @@ -0,0 +1,11 @@ +// SPDX-License-Identifier: GPL-2.0 + +#ifndef DRM_KUNIT_HELPERS_H_ +#define DRM_KUNIT_HELPERS_H_ + +struct drm_device; +struct kunit; + +struct drm_device *drm_kunit_device_init(struct kunit *test, u32 features, char *name); + +#endif // DRM_KUNIT_HELPERS_H_ |