drm/nouveau: Resolve the issue of VGA not being recognized or disconnected
Subsystems (3)
PATCH 1/1 drm/nouveau: Resolve the issue of VGA not being recognized or disconnected
From: Wang Jiang <[email protected]>
When using the GT730, I found that the VGA could recognize when it was plugged in, but could not detect when it was disconnected.
The reason is that the polled flag for the connector is missing DRM_CONNECTOR_POLL_DISCONNECT.
Signed-off-by Wang Jiang <[email protected]>
--- drivers/gpu/drm/nouveau/nouveau_connector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/nouveau/nouveau_connector.c +1 -1
@@ -1421,7 +1421,7 @@ nouveau_connector_create(struct drm_device *dev, int index) connector->doublescan_allowed = false;drm_connector_helper_add (connector, &nouveau_connector_helper_funcs); - connector->polled =DRM_CONNECTOR_POLL_CONNECT ; + connector->polled =DRM_CONNECTOR_POLL_CONNECT |DRM_CONNECTOR_POLL_DISCONNECT ;if (nvif_object_constructed (&nv_connector->conn.object)) { ret = nvif_conn_event_ctor(&nv_connector->conn, "kmsHotplug",
Signature · 1 line
2.25.1