]> 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)
commitb2a22b0374ec9b29e2e1a2440736098065b63869
tree3461eeb748f27bd4dd88f83fb799cf5db626f83b
parent241b48eb0e483de91df18c16fcde7781b2fae9ad
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