drm/vc4: crtc: Pass the drm_atomic_state to config_pv
authorMaxime Ripard <maxime@cerno.tech>
Fri, 7 May 2021 15:05:06 +0000 (17:05 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Mon, 24 May 2021 12:41:42 +0000 (14:41 +0200)
commitc6883985d46319e0d4f159de8932b09ff93e877d
treec6a12e78b0bbe0a34b90e5708fc33112cf6c353e
parent47a50743031ad4138050ae6d266ddd3dfe845ead
drm/vc4: crtc: Pass the drm_atomic_state to config_pv

The vc4_crtc_config_pv will need to access the drm_atomic_state
structure and its only parent function, vc4_crtc_atomic_enable already
has access to it. Let's pass it as a parameter.

Fixes: 792c3132bc1b ("drm/vc4: encoder: Add finer-grained encoder callbacks")
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210507150515.257424-4-maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_crtc.c