Skip to content
Snippets Groups Projects
Commit 06324194 authored by Jesse Barnes's avatar Jesse Barnes Committed by Eric Anholt
Browse files

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: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: default avatarEric Anholt <eric@anholt.net>
parent b42d4c5c
No related branches found
No related tags found
No related merge requests found
......@@ -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% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment