drm/vc4: crtc: Move the txp_armed function to the TXP
authorMaxime Ripard <maxime@cerno.tech>
Thu, 11 Jun 2020 13:36:52 +0000 (15:36 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Tue, 7 Jul 2020 08:51:21 +0000 (10:51 +0200)
commite25a21abb9da36b4dce14445ee13131130c04663
tree80e62775f29b9ee4d5713166eae944caa0585930
parent5fefc601a6c484ff2a3a6dc91f6310ca1224931a
drm/vc4: crtc: Move the txp_armed function to the TXP

The TXP driver is the only place where we need to set the txp_armed flag,
so let's move the function in the TXP driver.

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