[Nouveau] [PATCH 0/6] Add workaround for fixing runpm

Karol Herbst kherbst at redhat.com
Tue Sep 17 21:00:44 UTC 2019


I merged the both series I sent out recently into one bigger one so that
it's more obvious on why all of that is needed.

Biggest changes since last sent:
* reworked the ASPM patch
* removed "pci: add nvkm_pcie_get_speed" patch

Please test this on Laptops and report back if it either breaks something
or doesn't fix runpm.

Thanks

Karol Herbst (6):
  pci: disable ASPM before changing the link speed
  pci/gk104: enable dl_mgr safe mode
  pci/gk104: wait for ltssm idle before changing the link
  pci: enable pcie link changes for pascal
  pci: set the pcie link speed to 8.0 when suspending
  drm: abort runtime suspend if we hit an error

 drm/nouveau/include/nvkm/core/device.h |  2 ++
 drm/nouveau/include/nvkm/subdev/pci.h  |  3 +-
 drm/nouveau/nouveau_drm.c              |  6 ++++
 drm/nouveau/nvkm/subdev/clk/base.c     |  2 +-
 drm/nouveau/nvkm/subdev/pci/base.c     |  2 ++
 drm/nouveau/nvkm/subdev/pci/g84.c      |  8 +++++
 drm/nouveau/nvkm/subdev/pci/g92.c      |  1 +
 drm/nouveau/nvkm/subdev/pci/g94.c      |  1 +
 drm/nouveau/nvkm/subdev/pci/gf100.c    |  1 +
 drm/nouveau/nvkm/subdev/pci/gf106.c    |  1 +
 drm/nouveau/nvkm/subdev/pci/gk104.c    | 29 +++++++++++++-----
 drm/nouveau/nvkm/subdev/pci/gp100.c    | 11 +++++++
 drm/nouveau/nvkm/subdev/pci/pcie.c     | 42 +++++++++++++++++++++++---
 drm/nouveau/nvkm/subdev/pci/priv.h     | 16 ++++++++++
 14 files changed, 112 insertions(+), 13 deletions(-)

-- 
2.21.0



More information about the Nouveau mailing list