Skip to content

Commit

Permalink
nvc0/fb: shut up PMFB interrupt after the first occurrence
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Bumiller <e0425955@student.tuwien.ac.at>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  • Loading branch information
Christoph Bumiller authored and Ben Skeggs committed Apr 30, 2012
1 parent 0ed4bb9 commit ffc6a4e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions drivers/gpu/drm/nouveau/nvc0_fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ nvc0_mfb_isr(struct drm_device *dev)
nvc0_mfb_subp_isr(dev, unit, subp);
units &= ~(1 << unit);
}

/* we do something horribly wrong and upset PMFB a lot, so mask off
* interrupts from it after the first one until it's fixed
*/
nv_mask(dev, 0x000640, 0x02000000, 0x00000000);
}

static void
Expand Down

0 comments on commit ffc6a4e

Please sign in to comment.