[PULL] nouveau-fixes 5.7

Ben Skeggs skeggsb at gmail.com
Tue Apr 7 05:21:36 UTC 2020


Hey Dave,

A couple of misc fixes/workarounds for some issues that are causing a
lot of pain for people.

Of most interest are the PCI power management and GR init WARs, which
effect a rather significant number of laptop systems that are in use
today.

Ben.

The following changes since commit 0e7e6198af28c1573267aba1be33dd0b7fb35691:

  Merge branch 'ttm-transhuge' of
git://people.freedesktop.org/~thomash/linux into drm-next (2020-04-03
09:07:49 +1000)

are available in the Git repository at:

  git://github.com/skeggsb/linux linux-5.7

for you to fetch changes up to 374b55802cd567e9f340b7f27d2c5e20b069ac3c:

  drm/nouveau/kms/nv50-: wait for FIFO space on PIO channels
(2020-04-07 14:37:50 +1000)

----------------------------------------------------------------
Ben Skeggs (5):
      drm/nouveau/ttm: evict other IO mappings when running out of BAR1 space
      drm/nouveau/gr/gp107,gp108: implement workaround for HW hanging
during init
      drm/nouveau/nvif: access PTIMER through usermode class, if available
      drm/nouveau/nvif: protect waits against GPU falling off the bus
      drm/nouveau/kms/nv50-: wait for FIFO space on PIO channels

Karol Herbst (1):
      drm/nouveau: workaround runpm fail by disabling PCI power
management on certain intel bridges

Ralph Campbell (3):
      drm/nouveau/svm: fix vma range check for migration
      drm/nouveau/svm: check for SVM initialized before migrating
      drm/nouveau/svm: remove useless SVM range check

Wambui Karuga (1):
      drm/nouveau: remove checks for return value of debugfs functions

 drivers/gpu/drm/nouveau/dispnv04/dac.c         |  3 ++-
 drivers/gpu/drm/nouveau/dispnv04/hw.c          |  1 +
 drivers/gpu/drm/nouveau/dispnv50/base507c.c    |  1 +
 drivers/gpu/drm/nouveau/dispnv50/core507d.c    |  1 +
 drivers/gpu/drm/nouveau/dispnv50/corec37d.c    |  2 ++
 drivers/gpu/drm/nouveau/dispnv50/curs507a.c    | 21 ++++++++++++++++++---
 drivers/gpu/drm/nouveau/dispnv50/cursc37a.c    |  9 ++++++---
 drivers/gpu/drm/nouveau/dispnv50/disp.c        |  1 +
 drivers/gpu/drm/nouveau/dispnv50/ovly827e.c    |  2 ++
 drivers/gpu/drm/nouveau/dispnv50/wndw.h        |  1 +
 drivers/gpu/drm/nouveau/include/nvif/device.h  | 21 ---------------------
 drivers/gpu/drm/nouveau/include/nvif/timer.h   | 35
+++++++++++++++++++++++++++++++++++
 drivers/gpu/drm/nouveau/include/nvif/user.h    |  1 +
 drivers/gpu/drm/nouveau/nouveau_bo.c           |  9 +++++++--
 drivers/gpu/drm/nouveau/nouveau_debugfs.c      | 20 ++++++++------------
 drivers/gpu/drm/nouveau/nouveau_drm.c          | 63
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/gpu/drm/nouveau/nouveau_drv.h          |  2 ++
 drivers/gpu/drm/nouveau/nouveau_svm.c          |  9 ++++++---
 drivers/gpu/drm/nouveau/nvif/Kbuild            |  1 +
 drivers/gpu/drm/nouveau/nvif/device.c          | 14 +++++++++-----
 drivers/gpu/drm/nouveau/nvif/timer.c           | 56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/gpu/drm/nouveau/nvif/userc361.c        | 14 ++++++++++++++
 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c | 26 ++++++++++++++++++++++++++
 23 files changed, 263 insertions(+), 50 deletions(-)
 create mode 100644 drivers/gpu/drm/nouveau/include/nvif/timer.h
 create mode 100644 drivers/gpu/drm/nouveau/nvif/timer.c


More information about the dri-devel mailing list