Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 185540
b: refs/heads/master
c: 7b9c5ab
h: refs/heads/master
v: v3
  • Loading branch information
Jesse Barnes authored and Eric Anholt committed Feb 22, 2010
1 parent 4c5f29b commit 70791f6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f590d279eb4978352af163a88b001f156c7147d2
refs/heads/master: 7b9c5abee98c54f85bcc04bd4d7ec8d5094c73f4
7 changes: 7 additions & 0 deletions trunk/drivers/gpu/drm/i915/intel_lvds.c
Original file line number Diff line number Diff line change
Expand Up @@ -648,8 +648,15 @@ static const struct dmi_system_id bad_lid_status[] = {
*/
static enum drm_connector_status intel_lvds_detect(struct drm_connector *connector)
{
struct drm_device *dev = connector->dev;
enum drm_connector_status status = connector_status_connected;

/* ACPI lid methods were generally unreliable in this generation, so
* don't even bother.
*/
if (IS_I8XX(dev))
return connector_status_connected;

if (!dmi_check_system(bad_lid_status) && !acpi_lid_open())
status = connector_status_disconnected;

Expand Down

0 comments on commit 70791f6

Please sign in to comment.