diff options
author | Maxime Ripard <maxime@cerno.tech> | 2022-12-01 16:11:40 +0100 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2022-12-08 09:56:55 +0100 |
commit | 57a84a97bbda3a4bb38534e9e37634fa9f58c7fc (patch) | |
tree | fbbb1d114310319687862b9571e2c9f5f0ef247b /drivers/gpu/drm/tests/drm_modes_test.c | |
parent | 0bdc2e28efd9e1b76297cc8f3c54cac3806803ff (diff) |
drm/tests: helpers: Make sure the device is bound
The device managed resources are freed when the device is detached, so
it has to be bound in the first place.
Let's create a fake driver that we will bind to our fake device to
benefit from the device managed cleanups in our tests.
Reviewed-by: MaĆra Canal <mcanal@igalia.com>
Link: https://lore.kernel.org/r/20221123-rpi-kunit-tests-v3-9-4615a663a84a@cerno.tech
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Diffstat (limited to 'drivers/gpu/drm/tests/drm_modes_test.c')
0 files changed, 0 insertions, 0 deletions