drm/nouveau: Queue hpd_work on (runtime) resume
authorHans de Goede <hdegoede@redhat.com>
Mon, 21 Nov 2016 16:50:55 +0000 (17:50 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 28 Nov 2016 05:39:35 +0000 (15:39 +1000)
commit0b2fe6594fa2c54c080a89d563eb16ea7b4c4a29
tree49d2b86fe63c043452bf79e2e45b2f98aee6bb34
parent81280d0e24e76c35f40f997af26c779bcb10b04d
drm/nouveau: Queue hpd_work on (runtime) resume

We need to call drm_helper_hpd_irq_event() on resume to properly detect
monitor connection / disconnection on some laptops, use hpd_work for
this to avoid deadlocks.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_drm.c