Skip to content

Add workaround for fixing runpm

Karol Herbst nouveau 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6pci: disable ASPM before changing the link speeddrm/nouveau/nvkm/subdev/pci/g84.c drm/nouveau/nvkm/subdev/pci/g92.c drm/nouveau/nvkm/subdev/pci/g94.c +5 more+38 -00 replies
2/6pci/gk104: enable dl_mgr safe modedrm/nouveau/nvkm/subdev/pci/gk104.c+3 -00 replies
3/6pci/gk104: wait for ltssm idle before changing the linkdrm/nouveau/nvkm/subdev/pci/gk104.c+14 -30 replies
4/6pci: enable pcie link changes for pascaldrm/nouveau/nvkm/subdev/pci/gk104.c drm/nouveau/nvkm/subdev/pci/gp100.c drm/nouveau/nvkm/subdev/pci/priv.h+20 -40 replies
5/6pci: set the pcie link speed to 8.0 when suspendingdrm/nouveau/include/nvkm/core/device.h drm/nouveau/include/nvkm/subdev/pci.h drm/nouveau/nouveau_drm.c +4 more+32 -60 replies
6/6drm: abort runtime suspend if we hit an errordrm/nouveau/nouveau_drm.c+5 -00 replies

Reviews trailers per patch

2 of 6 patches have a Reviewed-by or Acked-by.

PatchLyude Paul
1/6
2/6
3/6
4/6R-b
5/6R-b
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] Add workaround for fixing runpm

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(-)
Signature · 6 lines
2.21.0

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau