[PATCH v5 00/13] Fix connector probing deadlocks from RPM bugs

From: Lyude Paul
Date: Tue Aug 07 2018 - 16:39:30 EST


This is the latest version of https://patchwork.freedesktop.org/series/46815/

I moved everything out of fb_helper and back into nouveau, because it
seems that other drivers actually do have this handled already as far as
I can tell.

Lyude Paul (13):
drm/nouveau: Fix bogus drm_kms_helper_poll_enable() placement
drm/nouveau: Remove duplicate poll_enable() in pmops_runtime_suspend()
drm/nouveau: Remove useless poll_enable() call in
switcheroo_set_state()
drm/nouveau: Remove useless poll_disable() call in
switcheroo_set_state()
drm/nouveau: Remove useless poll_enable() call in drm_load()
drm/nouveau: Call optimus_dsm functions after nouveau_do_suspend()
drm/nouveau: Add missing unroll functions in nouveau_do_suspend()
drm/nouveau: Don't ignore nouveau_do_suspend() ret value
drm/nouveau: Fix deadlock with fb_helper by inhibiting it's HPD
drm/nouveau: Use pm_runtime_get_noresume() in connector_detect()
drm/nouveau: Respond to HPDs by probing one conn at a time
drm/nouveau: Fix deadlocks in nouveau_connector_detect()
drm/nouveau: Call pm_runtime_get_noresume() from hpd handlers

drivers/gpu/drm/nouveau/dispnv50/disp.c | 2 +-
drivers/gpu/drm/nouveau/nouveau_connector.c | 60 +++++++++++---
drivers/gpu/drm/nouveau/nouveau_connector.h | 1 +
drivers/gpu/drm/nouveau/nouveau_display.c | 55 +++++++++----
drivers/gpu/drm/nouveau/nouveau_drm.c | 23 ++++--
drivers/gpu/drm/nouveau/nouveau_fbcon.c | 90 +++++++++++++++++++++
drivers/gpu/drm/nouveau/nouveau_fbcon.h | 9 +++
drivers/gpu/drm/nouveau/nouveau_vga.c | 2 -
8 files changed, 209 insertions(+), 33 deletions(-)

--
2.17.1