diff options
author | Hans de Goede <hdegoede@redhat.com> | 2016-11-21 16:50:54 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-06-17 04:41:54 (GMT) |
commit | d2beb1a9dd824bcf442e025cbf7fd1e3b4cf8db2 (patch) | |
tree | c22f3500ce6dd4547cea34c9c86ba2d80cc5e889 /samples/kobject | |
parent | ef66745a1bd231a2c53639de27e4d6bcd00be4cc (diff) | |
download | linux-d2beb1a9dd824bcf442e025cbf7fd1e3b4cf8db2.tar.xz |
drm/nouveau: Rename acpi_work to hpd_work
[ Upstream commit 81280d0e24e76c35f40f997af26c779bcb10b04d ]
We need to call drm_helper_hpd_irq_event() on resume to properly detect
monitor connection / disconnection on some laptops. For runtime-resume
(which gets called on resume from normal suspend too) we must call
drm_helper_hpd_irq_event() from a workqueue to avoid a deadlock.
Rename acpi_work to hpd_work, and move it out of the #ifdef CONFIG_ACPI
blocks to make it suitable for generic work.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'samples/kobject')
0 files changed, 0 insertions, 0 deletions