Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 185520
b: refs/heads/master
c: b30083b
h: refs/heads/master
v: v3
  • Loading branch information
Ben Skeggs committed Feb 25, 2010
1 parent 5002938 commit 7679dcc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c52e53fd38b195169c67a8cc9ed1af0125d2655c
refs/heads/master: b30083bdb990bcc2829fce83d871a86059ff4fc1
6 changes: 4 additions & 2 deletions trunk/drivers/gpu/drm/nouveau/nouveau_connector.c
Original file line number Diff line number Diff line change
Expand Up @@ -239,12 +239,14 @@ nouveau_connector_detect(struct drm_connector *connector)
if (nv_connector->dcb->type == DCB_CONNECTOR_LVDS)
nv_encoder = find_encoder_by_type(connector, OUTPUT_LVDS);
if (nv_encoder && nv_connector->native_mode) {
unsigned status = connector_status_connected;

#ifdef CONFIG_ACPI
if (!nouveau_ignorelid && !acpi_lid_open())
return connector_status_disconnected;
status = connector_status_unknown;
#endif
nouveau_connector_set_encoder(connector, nv_encoder);
return connector_status_connected;
return status;
}

/* Cleanup the previous EDID block. */
Expand Down

0 comments on commit 7679dcc

Please sign in to comment.