diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-09-10 18:28:05 -0400 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-09-10 19:10:31 -0400 |
commit | 06324194eee97a51b5f172270df49ec39192d6cc (patch) | |
tree | a4a550cbaa909acfe09e40cc8e78e6204a94c23b /drivers | |
parent | b42d4c5c6a872815d711e5d51a600f5122c38eee (diff) |
drm/i915: generate a KMS uevent at lid open/close time
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/i915/intel_lvds.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_lvds.c b/drivers/gpu/drm/i915/intel_lvds.c index 90f69d4717e9..c4799bd7eaad 100644 --- a/drivers/gpu/drm/i915/intel_lvds.c +++ b/drivers/gpu/drm/i915/intel_lvds.c | |||
@@ -649,6 +649,8 @@ static int intel_lid_notify(struct notifier_block *nb, unsigned long val, | |||
649 | if (acpi_lid_open()) | 649 | if (acpi_lid_open()) |
650 | drm_helper_resume_force_mode(dev); | 650 | drm_helper_resume_force_mode(dev); |
651 | 651 | ||
652 | drm_sysfs_hotplug_event(dev_priv->dev); | ||
653 | |||
652 | return NOTIFY_OK; | 654 | return NOTIFY_OK; |
653 | } | 655 | } |
654 | 656 | ||