diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2016-03-11 04:09:28 +0100 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2016-03-14 01:13:40 +0100 |
commit | acdf7d4f7ea95211fe0e6739e4dc36fcf73b7a46 (patch) | |
tree | 6aea353ec64f4b169d45e1b961dc695c0e025f95 /drivers/gpu/drm | |
parent | drm/nouveau/fifo/gk104: identify fault-recovery members more clearly (diff) | |
download | linux-acdf7d4f7ea95211fe0e6739e4dc36fcf73b7a46.tar.xz linux-acdf7d4f7ea95211fe0e6739e4dc36fcf73b7a46.zip |
drm/nouveau/fifo/gk104: don't attempt recovery of unknown mmu engines
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c b/drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c index a46971a54169..4529adc7835b 100644 --- a/drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c +++ b/drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c @@ -399,7 +399,7 @@ gk104_fifo_intr_fault(struct gk104_fifo *fifo, int unit) snprintf(gpcid, sizeof(gpcid), "GPC%d/", gpc); } - if (eu) { + if (eu && eu->data2) { switch (eu->data2) { case NVKM_SUBDEV_BAR: nvkm_mask(device, 0x001704, 0x00000000, 0x00000000); |