提交 06324194 编写于 作者: J Jesse Barnes 提交者: Eric Anholt

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: NJesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: NEric Anholt <eric@anholt.net>
上级 b42d4c5c
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册