drm/udl: Set VGA connector
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 8 Feb 2022 14:31:52 +0000 (15:31 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Wed, 18 May 2022 04:52:03 +0000 (06:52 +0200)
Set the connector type to VGA. The previously exported DVII type
isn't even supported by the driver.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220208143152.5846-1-tzimmermann@suse.de
drivers/gpu/drm/udl/udl_connector.c

index 930574a..318fdb3 100644 (file)
@@ -128,7 +128,7 @@ struct drm_connector *udl_connector_init(struct drm_device *dev)
 
        connector = &udl_connector->connector;
        drm_connector_init(dev, connector, &udl_connector_funcs,
-                          DRM_MODE_CONNECTOR_DVII);
+                          DRM_MODE_CONNECTOR_VGA);
        drm_connector_helper_add(connector, &udl_connector_helper_funcs);
 
        connector->polled = DRM_CONNECTOR_POLL_HPD |