drm/vc4: Pass the atomic state to encoder hooks
authorMaxime Ripard <maxime@cerno.tech>
Tue, 15 Dec 2020 15:42:36 +0000 (16:42 +0100)
committerMaxime Ripard <maxime@cerno.tech>
Wed, 16 Dec 2020 09:11:22 +0000 (10:11 +0100)
commit8d9147466776c44b6d259077041fa24dcca63abc
tree3461eeb748f27bd4dd88f83fb799cf5db626f83b
parentee6965c864e3f5e05304ea07ede452d13980f754
drm/vc4: Pass the atomic state to encoder hooks

We'll need to access the connector state in our encoder setup, so let's
just pass the whole DRM state to our private encoder hooks.

Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20201215154243.540115-3-maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_crtc.c
drivers/gpu/drm/vc4/vc4_drv.h
drivers/gpu/drm/vc4/vc4_hdmi.c