• H
    drm/nouveau: Rename acpi_work to hpd_work · 81280d0e
    Hans de Goede 提交于
    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: NHans de Goede <hdegoede@redhat.com>
    Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
    81280d0e
nouveau_drv.h 5.6 KB