Skip to content

Commit

Permalink
drm/i915: generate a KMS uevent at lid open/close time
Browse files Browse the repository at this point in the history
With all the other lid pieces in place, it's easy to generate a uevent
for the LVDS connector just like we do for other outputs.  Should make
lid open/close fit in with the rest of a userland based output
reconfiguration scheme.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
  • Loading branch information
Jesse Barnes authored and Eric Anholt committed Sep 10, 2009
1 parent b42d4c5 commit 0632419
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/gpu/drm/i915/intel_lvds.c
Original file line number Diff line number Diff line change
@@ -649,6 +649,8 @@ static int intel_lid_notify(struct notifier_block *nb, unsigned long val,
if (acpi_lid_open())
drm_helper_resume_force_mode(dev);

drm_sysfs_hotplug_event(dev_priv->dev);

return NOTIFY_OK;
}

0 comments on commit 0632419

Please sign in to comment.