drm/tests: Add a test for DRM managed actions
authorMaxime Ripard <maxime@cerno.tech>
Thu, 1 Dec 2022 15:11:43 +0000 (16:11 +0100)
committerMaxime Ripard <maxime@cerno.tech>
Thu, 8 Dec 2022 08:56:55 +0000 (09:56 +0100)
commit4adf59449f990fb8054159f6c3b350790dee1fce
tree106876b62bbb79282c623dcf25ad3b5e9ea527ce
parentd98780310719bf4076d975c2ff65c44c7c0d929e
drm/tests: Add a test for DRM managed actions

DRM-managed actions are supposed to be ran whenever the device is
released. Let's introduce a basic unit test to make sure it happens.

Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: MaĆ­ra Canal <mcanal@igalia.com>
Link: https://lore.kernel.org/r/20221123-rpi-kunit-tests-v3-12-4615a663a84a@cerno.tech
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
drivers/gpu/drm/tests/Makefile
drivers/gpu/drm/tests/drm_managed_test.c [new file with mode: 0644]