drm/vc4: tests: Add function to lookup a plane for a CRTC
authorMaxime Ripard <maxime@cerno.tech>
Fri, 14 Apr 2023 09:26:58 +0000 (11:26 +0200)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:35:00 +0000 (11:35 +0000)
commit21fe63b1fa58ec3b98493ba04571e6f9d174b245
tree5ab96131edf6dcd45b77c7a4d8b301af667e1c79
parent8d5e1439b513959b6efb59435d1d8fd72481c14d
drm/vc4: tests: Add function to lookup a plane for a CRTC

Some tests will need to find a plane to run a test on for a given CRTC.
Let's create a small helper to do that.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
drivers/gpu/drm/vc4/tests/vc4_mock.h