diff options
author | Hans de Goede <hdegoede@redhat.com> | 2016-11-21 17:50:54 +0100 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2016-11-28 15:39:35 +1000 |
commit | 81280d0e24e76c35f40f997af26c779bcb10b04d (patch) | |
tree | 35e0dbf05177bb8e1226594bece9d6ba6ad355fa /drivers/gpu/drm/drm_connector.c | |
parent | bd9f6605a8fd24e29456050baaf05f777ccb83a3 (diff) |
drm/nouveau: Rename acpi_work to hpd_work
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>
Diffstat (limited to 'drivers/gpu/drm/drm_connector.c')
0 files changed, 0 insertions, 0 deletions