Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 282633
b: refs/heads/master
c: 84e052e
h: refs/heads/master
i:
  282631: a7d8690
v: v3
  • Loading branch information
Ben Skeggs committed Dec 21, 2011
1 parent d05bbba commit e658456
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8a46438a6a7492296c5dbfcc8e4a5106ab37bca8
refs/heads/master: 84e052e626d88c04c03f79dd95708e556d018d97
6 changes: 6 additions & 0 deletions trunk/drivers/gpu/drm/nouveau/nvd0_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -1585,6 +1585,12 @@ nvd0_display_intr(struct drm_device *dev)
struct nvd0_display *disp = nvd0_display(dev);
u32 intr = nv_rd32(dev, 0x610088);

if (intr & 0x00000001) {
u32 stat = nv_rd32(dev, 0x61008c);
nv_wr32(dev, 0x61008c, stat);
intr &= ~0x00000001;
}

if (intr & 0x00000002) {
u32 stat = nv_rd32(dev, 0x61009c);
int chid = ffs(stat) - 1;
Expand Down

0 comments on commit e658456

Please sign in to comment.