Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 250687
b: refs/heads/master
c: 96d1fcf
h: refs/heads/master
i:
  250685: 48e9fd5
  250683: cab1c4d
  250679: ea9e2d7
  250671: 266de6d
  250655: 184ece9
  250623: 9d83f4b
v: v3
  • Loading branch information
Ben Skeggs committed May 16, 2011
1 parent 1b73fdb commit d39139a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bfb61f43b37158d432a1897bc2a4bbbd41215fae
refs/heads/master: 96d1fcf8b5a3a9c66fddeaa9fb71e4e68ee2e08b
6 changes: 4 additions & 2 deletions trunk/drivers/gpu/drm/nouveau/nouveau_perf.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,10 @@ nouveau_perf_timing(struct drm_device *dev, struct bit_entry *P,
entries = tmap[4];
}

ramcfg = nv_rd32(dev, NV_PEXTDEV_BOOT_0) & 0x0000003c;
ramcfg >>= 2;
ramcfg = (nv_rd32(dev, NV_PEXTDEV_BOOT_0) & 0x0000003c) >> 2;
if (bios->ram_restrict_tbl_ptr)
ramcfg = bios->data[bios->ram_restrict_tbl_ptr + ramcfg];

if (ramcfg >= entries) {
NV_WARN(dev, "ramcfg strap out of bounds!\n");
return NULL;
Expand Down

0 comments on commit d39139a

Please sign in to comment.