Skip to content

Commit

Permalink
drm/nvc0/fifo: avoid touching missing subfifos
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  • Loading branch information
Ben Skeggs committed Sep 20, 2011
1 parent 84e2ad8 commit 3dcbb02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/nouveau/nvc0_fifo.c
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ nvc0_fifo_init(struct drm_device *dev)
}

/* PSUBFIFO[n] */
for (i = 0; i < 3; i++) {
for (i = 0; i < priv->spoon_nr; i++) {
nv_mask(dev, 0x04013c + (i * 0x2000), 0x10000100, 0x00000000);
nv_wr32(dev, 0x040108 + (i * 0x2000), 0xffffffff); /* INTR */
nv_wr32(dev, 0x04010c + (i * 0x2000), 0xfffffeff); /* INTR_EN */
Expand Down

0 comments on commit 3dcbb02

Please sign in to comment.