]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/vc4: tests: Remove vc4_dummy_plane structure
authorMaxime Ripard <mripard@kernel.org>
Mon, 27 May 2024 13:58:15 +0000 (15:58 +0200)
committerMaxime Ripard <mripard@kernel.org>
Tue, 28 May 2024 08:24:42 +0000 (10:24 +0200)
commit27e0a194a2566c376fb600e8195bdafef7519211
tree919d2c135746066206c85c2a3ce12e5accc529bb
parentb47a72f30768ffe76e105b3e91ad7022003e8504
drm/vc4: tests: Remove vc4_dummy_plane structure

The vc4_dummy_plane structure was introduced as a mean to add
mock-specific fields.

However, we never really used it and it's still strictly equivalent to
vc4_plane (which is in the same situation vs drm_plane), so we can
simply remove the vc4_dummy_plane structure and make the mock code
cleaner.

Reviewed-by: MaĆ­ra Canal <mcanal@igalia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240527-kms-hdmi-connector-state-v15-26-c5af16c3aae2@kernel.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>
drivers/gpu/drm/vc4/tests/vc4_mock.c
drivers/gpu/drm/vc4/tests/vc4_mock.h
drivers/gpu/drm/vc4/tests/vc4_mock_plane.c