]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/vc4: hdmi: Report that 3d/stereo is allowed
authorDom Cobley <popcornmix@gmail.com>
Mon, 13 Jun 2022 14:47:56 +0000 (16:47 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Tue, 28 Jun 2022 12:56:11 +0000 (14:56 +0200)
Our HDMI controllers supports Stereo output so let's enable it.

Signed-off-by: Dom Cobley <popcornmix@gmail.com>
Link: https://lore.kernel.org/r/20220613144800.326124-30-maxime@cerno.tech
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
drivers/gpu/drm/vc4/vc4_hdmi.c

index 9a568c44ecaf22a3839179d6d60173a005d9fc61..3e97d975e042ced2ffbb655d2dce2ee3f50170c2 100644 (file)
@@ -427,6 +427,7 @@ static int vc4_hdmi_connector_init(struct drm_device *dev,
 
        connector->interlace_allowed = 1;
        connector->doublescan_allowed = 0;
+       connector->stereo_allowed = 1;
 
        if (vc4_hdmi->variant->supports_hdr)
                drm_connector_attach_hdr_output_metadata_property(connector);