Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 293745
b: refs/heads/master
c: 1a7287e
h: refs/heads/master
i:
  293743: bb034dc
v: v3
  • Loading branch information
Ben Skeggs committed Mar 13, 2012
1 parent 7de4cde commit a7ad121
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: c57ebf5ef3588d21031f12e39131d79071269845
refs/heads/master: 1a7287ea6f37c930a092123f6584b0b24cfe2d13
5 changes: 4 additions & 1 deletion trunk/drivers/gpu/drm/nouveau/nouveau_mem.c
Original file line number Diff line number Diff line change
Expand Up @@ -766,8 +766,10 @@ nouveau_mem_gddr3_mr(struct drm_device *dev, u32 freq,
t->mr[1] = (boot->mr[1] & 0x100f40) | t->drive_strength |
(t->odt << 2) |
(nv_mem_wr_lut_gddr3[e->tWR] & 0xf) << 4;
t->mr[2] = boot->mr[2];

NV_DEBUG(dev, "(%u) MR: %08x %08x", t->id, t->mr[0], t->mr[1]);
NV_DEBUG(dev, "(%u) MR: %08x %08x %08x", t->id,
t->mr[0], t->mr[1], t->mr[2]);
return 0;
}

Expand Down Expand Up @@ -963,6 +965,7 @@ nouveau_mem_exec(struct nouveau_mem_exec_func *exec,

/* fetch current MRs */
switch (dev_priv->vram_type) {
case NV_MEM_TYPE_GDDR3:
case NV_MEM_TYPE_DDR3:
mr[2] = exec->mrg(exec, 2);
default:
Expand Down

0 comments on commit a7ad121

Please sign in to comment.