drm/vc4: Move HVS state to main header
authorMaxime Ripard <maxime@cerno.tech>
Thu, 1 Dec 2022 15:11:44 +0000 (16:11 +0100)
committerMaxime Ripard <maxime@cerno.tech>
Thu, 8 Dec 2022 08:56:56 +0000 (09:56 +0100)
commit3c5cb5ec2e73a649d9416d4051d5cd3e9e3a9e43
tree5456d234bfd0dbce325fdc1d4e3635249f1ff8c2
parent4adf59449f990fb8054159f6c3b350790dee1fce
drm/vc4: Move HVS state to main header

In order to introduce unit tests for the HVS state computation, we'll
need access to the vc4_hvs_state struct definition and its associated
helpers.

Let's move them in our driver header.

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-13-4615a663a84a@cerno.tech
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
drivers/gpu/drm/vc4/vc4_drv.h
drivers/gpu/drm/vc4/vc4_kms.c