]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc6d3f5887fdc62c07b1e3f07d414f6a826d032f8
treec6a12e78b0bbe0a34b90e5708fc33112cf6c353e
parent7100d75b49e9fc959430fb1ca73a7ef16017ce80
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: 400b9b0adc14 ("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