Skip to content

add PCIe workaround to fix runpm on laptops

Karol Herbst nouveau 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 patches 8 repliesIn review
  2. v14 patches 0 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4pci: 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 -41 reply
2/4pci: add nvkm_pcie_get_speeddrm/nouveau/include/nvkm/subdev/pci.h drm/nouveau/nvkm/subdev/pci/pcie.c+9 -01 reply
3/4pci: 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 -66 replies
4/4drm: abort runtime suspend if we hit an errordrm/nouveau/nouveau_drm.c+5 -00 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

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

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

Read the v4 thread

Cover letter [PATCH v4 0/4] add PCIe workaround to fix runpm on laptops

not much changed since the last time I sent those patches out, but there are a couple of annoying bug fixes, which users would probably never hit unless they do rmmod/modprobe nouveau cycles.

Biggest change is that I force the link to a 8.0 speed rather than the speed the GPU came up with.

Also this series depends on the PCIe improvement patches I sent out recently.

Karol Herbst (4):
pci: enable pcie link changes for pascal
pci: add nvkm_pcie_get_speed
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  |  4 ++-
 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/gk104.c    |  8 +++---
 drm/nouveau/nvkm/subdev/pci/gp100.c    | 11 ++++++++
 drm/nouveau/nvkm/subdev/pci/pcie.c     | 35 +++++++++++++++++++++++---
 drm/nouveau/nvkm/subdev/pci/priv.h     |  6 +++++
 9 files changed, 66 insertions(+), 10 deletions(-)
Signature · 6 lines
2.21.0

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