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)
committerpopcornmix <popcornmix@gmail.com>
Wed, 27 Jan 2021 19:13:29 +0000 (19:13 +0000)
commit8b8092bd098f81efc7c9af565a67691d2d29fb65
tree9a95be8de4fd672b63d6577c36324ff6ba80442d
parent18500304ab51a8c2b45f8d788679b615a632e26d
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>
drivers/gpu/drm/vc4/vc4_crtc.c
drivers/gpu/drm/vc4/vc4_drv.h
drivers/gpu/drm/vc4/vc4_hdmi.c