drm/vc4: crtc: Add encoder to vc4_crtc_config_pv prototype
authorMaxime Ripard <maxime@cerno.tech>
Mon, 14 Jun 2021 13:27:24 +0000 (15:27 +0200)
committerPhil Elwell <8911409+pelwell@users.noreply.github.com>
Wed, 23 Jun 2021 12:25:10 +0000 (13:25 +0100)
commit8e806b3f1867b1c4d45c2b9454643bb05bd5479f
treedd4a4518198ce4d5d1eef65857c420e45624d04e
parent7716384c282be3326b7f91ec236fbb4813fb432c
drm/vc4: crtc: Add encoder to vc4_crtc_config_pv prototype

vc4_crtc_config_pv() retrieves the encoder again, even though its only
caller, vc4_crtc_atomic_enable(), already did.

Pass the encoder pointer as an argument instead of going through all the
connectors to retrieve it again.

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