With an EDID whose HDMI Vendor-Specific Data Block declares 3D (HDMI 1.4b), the EDID parser lists frame packing, top-and-bottom and side by side (half) modes, but the probe helper drops them with MODE_NO_STEREO because VKMS never sets stereo_allowed. The composer and the writeback connector handle the frame of both eyes now, so allow stereo modes on every VKMS connector, static or hot-added, as i915, nouveau and vc4 do on HDMI.
Connectors without an EDID are unchanged: drm_add_modes_noedid() adds no stereo mode. Assisted-by: LLM Signed-off-by: Daniel Campos Ramos <[email protected]> --- drivers/gpu/drm/vkms/vkms_connector.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/vkms/vkms_connector.c b/drivers/gpu/drm/vkms/vkms_connector.c index 08e1828a0f..3449c4c213 100644 --- a/drivers/gpu/drm/vkms/vkms_connector.c +++ b/drivers/gpu/drm/vkms/vkms_connector.c @@ -194,6 +194,8 @@ static int __must_check vkms_connector_init(struct vkms_connector *connector, { int ret = 0; + connector->base.stereo_allowed = true; + if (vkms_config_connector_get_supported_colorspaces(connector_cfg)) { if (connector_cfg->type == DRM_MODE_CONNECTOR_HDMIA) { ret = drm_mode_create_hdmi_colorspace_property(&connector->base,
