[Nouveau] [PATCH 0/9] drm/nouveau/kms: A bunch of runtime_pm fixes

Lyude Paul lyude at redhat.com
Wed Jul 29 21:36:54 UTC 2020


While working on refactoring how we handle connector hotplugging/probing
+ a bunch of misc DP stuff, I found a bunch of runtime_pm errors that
were mostly introduced by me at one point. Oops. A lot of these aren't
triggered consistently on a lot of systems, so it's not terribly
surprising these got swept under the rug.

Lyude Paul (9):
  drm/nouveau/kms: Handle -EINPROGRESS in nouveau_connector_hotplug()
  drm/nouveau/kms: Fix rpm leak in nouveau_connector_hotplug()
  drm/nouveau/kms/fbcon: Correct pm_runtime calls in
    nouveau_fbcon_release()
  drm/nouveau/kms/fbcon: Fix pm_runtime calls in
    nouveau_fbcon_output_poll_changed()
  drm/nouveau/kms/fbcon: Use pm_runtime_put_autosuspend() in suspend
    work
  drm/nouveau/kms: Use pm_runtime_put_autosuspend() in hpd_work
  drm/nouveau/kms: Invert conditionals in nouveau_display_acpi_ntfy()
  drm/nouveau/kms: Fix runtime PM leak in nouveau_display_acpi_ntfy()
  drm/nouveau/kms: Handle -EINPROGRESS in nouveau_display_acpi_ntfy()

 drivers/gpu/drm/nouveau/nouveau_connector.c |  5 +-
 drivers/gpu/drm/nouveau/nouveau_display.c   | 52 ++++++++++-----------
 drivers/gpu/drm/nouveau/nouveau_fbcon.c     | 18 ++++---
 3 files changed, 41 insertions(+), 34 deletions(-)

-- 
2.26.2



More information about the Nouveau mailing list