]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
drm/nouveau/gr/gp107,gp108: implement workaround for HW hanging during init
authorBen Skeggs <bskeggs@redhat.com>
Tue, 31 Mar 2020 06:08:44 +0000 (16:08 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 7 Apr 2020 04:37:50 +0000 (14:37 +1000)
commit028a12f5aa829b4ba6ac011530b815eda4960e89
treeeb37d5a24d1c5ea1769679d5d5e4f28a9aa65c0f
parent434fdb51513bf3057ac144d152e6f2f2b509e857
drm/nouveau/gr/gp107,gp108: implement workaround for HW hanging during init

Certain boards with GP107/GP108 chipsets hang (often, but randomly) for
unknown reasons during GR initialisation.

The first tell-tale symptom of this issue is:

nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 409800 [ TIMEOUT ]

appearing in dmesg, likely followed by many other failures being logged.

Karol found this WAR for the issue a while back, but efforts to isolate
the root cause and proper fix have not yielded success so far.  I've
modified the original patch to include a few more details, limit it to
GP107/GP108 by default, and added a config option to override this choice.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c