[Nouveau] [PATCH 0/8] Add workaround for fixing runpm
Karol Herbst
kherbst at redhat.com
Mon Sep 23 20:39:43 UTC 2019
Changes since last sent:
* add a patch to set the device into DRM_SWITCH_POWER_CHANGING state
(can be dropped actually, I thought I was needing it, came up with a
different approach and forgot to delete it, doesn't hurt though)
* expose information about runtime suspending to nvkm so that we can run
the pcie workaround only on runtime suspend
Karol Herbst (8):
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
drm: set power_state to DRM_SWITCH_POWER_CHANGING before changing
drm: be explicit about runtime suspend in fini
pci: set the pcie link speed to 8.0 when suspending
drm: abort runtime suspend if we hit an error
bin/nv_init.c | 2 +-
drm/nouveau/include/nvif/client.h | 2 +-
drm/nouveau/include/nvif/driver.h | 2 +-
drm/nouveau/include/nvkm/core/device.h | 5 ++-
drm/nouveau/include/nvkm/core/engine.h | 2 +-
drm/nouveau/include/nvkm/core/object.h | 13 ++++++--
drm/nouveau/include/nvkm/core/oproxy.h | 2 +-
drm/nouveau/include/nvkm/core/subdev.h | 5 +--
drm/nouveau/include/nvkm/subdev/pci.h | 3 +-
drm/nouveau/nouveau_drm.c | 10 +++++-
drm/nouveau/nouveau_nvif.c | 6 ++--
drm/nouveau/nvif/client.c | 4 +--
drm/nouveau/nvkm/core/client.c | 5 ++-
drm/nouveau/nvkm/core/engine.c | 4 +--
drm/nouveau/nvkm/core/ioctl.c | 4 +--
drm/nouveau/nvkm/core/object.c | 22 ++++++++++---
drm/nouveau/nvkm/core/oproxy.c | 2 +-
drm/nouveau/nvkm/core/subdev.c | 4 +--
drm/nouveau/nvkm/engine/device/base.c | 11 ++++---
drm/nouveau/nvkm/engine/device/pci.c | 2 +-
drm/nouveau/nvkm/engine/device/priv.h | 2 +-
drm/nouveau/nvkm/engine/device/tegra.c | 3 +-
drm/nouveau/nvkm/engine/device/user.c | 2 +-
drm/nouveau/nvkm/engine/disp/base.c | 2 +-
drm/nouveau/nvkm/engine/disp/channv50.c | 2 +-
drm/nouveau/nvkm/engine/falcon.c | 2 +-
drm/nouveau/nvkm/engine/fifo/base.c | 2 +-
drm/nouveau/nvkm/engine/fifo/chan.c | 5 +--
drm/nouveau/nvkm/engine/fifo/gf100.c | 2 +-
drm/nouveau/nvkm/engine/fifo/gk104.c | 2 +-
drm/nouveau/nvkm/engine/gr/base.c | 2 +-
drm/nouveau/nvkm/engine/gr/nv04.c | 2 +-
drm/nouveau/nvkm/engine/gr/nv10.c | 2 +-
drm/nouveau/nvkm/engine/gr/nv20.c | 2 +-
drm/nouveau/nvkm/engine/gr/nv20.h | 2 +-
drm/nouveau/nvkm/engine/gr/nv40.c | 2 +-
drm/nouveau/nvkm/engine/mpeg/nv44.c | 2 +-
drm/nouveau/nvkm/engine/pm/base.c | 2 +-
drm/nouveau/nvkm/engine/sec2/base.c | 2 +-
drm/nouveau/nvkm/engine/xtensa.c | 2 +-
drm/nouveau/nvkm/subdev/bar/base.c | 2 +-
drm/nouveau/nvkm/subdev/clk/base.c | 4 +--
drm/nouveau/nvkm/subdev/devinit/base.c | 2 +-
drm/nouveau/nvkm/subdev/fault/base.c | 2 +-
drm/nouveau/nvkm/subdev/fault/user.c | 2 +-
drm/nouveau/nvkm/subdev/gpio/base.c | 2 +-
drm/nouveau/nvkm/subdev/i2c/base.c | 2 +-
drm/nouveau/nvkm/subdev/instmem/base.c | 2 +-
drm/nouveau/nvkm/subdev/mc/base.c | 2 +-
drm/nouveau/nvkm/subdev/pci/base.c | 4 ++-
drm/nouveau/nvkm/subdev/pci/g84.c | 9 ++++++
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 | 43 ++++++++++++++++++++++---
drm/nouveau/nvkm/subdev/pci/priv.h | 16 +++++++++
drm/nouveau/nvkm/subdev/pmu/base.c | 2 +-
drm/nouveau/nvkm/subdev/secboot/base.c | 2 +-
drm/nouveau/nvkm/subdev/therm/base.c | 2 +-
drm/nouveau/nvkm/subdev/timer/base.c | 2 +-
lib/drm.c | 2 +-
lib/main.c | 6 ++--
lib/null.c | 6 ++--
66 files changed, 224 insertions(+), 88 deletions(-)
--
2.21.0
More information about the Nouveau
mailing list