[PATCH v3 0/8] Fix connector probing deadlocks from RPM bugs
From: Lyude Paul
Date: Mon Jul 30 2018 - 20:40:19 EST
This is the next version of
https://patchwork.freedesktop.org/series/46815/
With a lot more thought put into it so as to avoid the potential
deadlock scenarios I missed. This also required fixing some bogus DRM
helper usage.
Try and deadlock me now, nouveau. I dare you!!!
Lyude Paul (8):
drm/nouveau: Fix bogus drm_kms_helper_poll_enable() placement
drm/nouveau: Enable polling even if we have runtime PM
drm/fb_helper: Introduce hotplug_suspend/resume()
drm/nouveau: Fix deadlock with fb_helper using new helpers
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/drm_fb_helper.c | 65 +++++++++++++++++++++
drivers/gpu/drm/nouveau/nouveau_connector.c | 60 +++++++++++++++----
drivers/gpu/drm/nouveau/nouveau_connector.h | 1 +
drivers/gpu/drm/nouveau/nouveau_display.c | 7 ++-
drivers/gpu/drm/nouveau/nouveau_drm.c | 16 +++--
drivers/gpu/drm/nouveau/nouveau_fbcon.c | 1 +
include/drm/drm_fb_helper.h | 20 +++++++
7 files changed, 154 insertions(+), 16 deletions(-)
--
2.17.1