]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: crtc: Split CRTC data in two
authorMaxime Ripard <maxime@cerno.tech>
Thu, 11 Jun 2020 13:36:49 +0000 (15:36 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Tue, 7 Jul 2020 08:51:21 +0000 (10:51 +0200)
commit6f447345a2692593d929382cfba0890c35d6cc2b
treec2fa3e647654b4eb52bc2c83280c8f9306888ad5
parent3148948966e4f5d8823aff353fe5d18873a173b9
drm/vc4: crtc: Split CRTC data in two

The vc4_crtc_data structure is currently storing data related to both the
general CRTC information needed by the rest of the vc4 driver (like HVS
output and available FIFOs) and some related to the pixelvalve attached to
that CRTC. Let's split this into two structures so that we can reuse the
CRTC part into the TXP later on.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Reviewed-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/8eb317c91ac208d7f926d76ad421002fa0364c47.1591882579.git-series.maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_crtc.c
drivers/gpu/drm/vc4/vc4_drv.h