]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite1be9aec36b962854df8fb98c446a2d7b1678dc9
tree3461eeb748f27bd4dd88f83fb799cf5db626f83b
parentf397c214f0c8688cb01cc94c11ccf01445d93ca6
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