drm/vc4: tests: Add helper to add a new plane to a state
authorMaxime Ripard <maxime@cerno.tech>
Fri, 14 Apr 2023 10:57:53 +0000 (12:57 +0200)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:35:00 +0000 (11:35 +0000)
commit35d5d93877318eeaa170bb7e5c2f4edb6088b908
tree4745f640997b139538227bfecf7736e109958d36
parent21fe63b1fa58ec3b98493ba04571e6f9d174b245
drm/vc4: tests: Add helper to add a new plane to a state

We'll start to add some tests for the plane state logic, so let's create
a helper to add a plane to an existing atomic state.

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