• Hans de Goede's avatar
    drm/nouveau: Rename acpi_work to hpd_work · 81280d0e
    Hans de Goede authored
    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: default avatarHans de Goede <hdegoede@redhat.com>
    Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
    81280d0e
nouveau_drv.h 5.63 KB