Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 200242
b: refs/heads/master
c: 4eb3033
h: refs/heads/master
v: v3
  • Loading branch information
Ben Skeggs authored and Dave Airlie committed Jun 8, 2010
1 parent 9db44e4 commit e0708bb
Show file tree
Hide file tree
Showing 2 changed files with 9 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: 75047944480a33afad76a272b21116d032ba61fa
refs/heads/master: 4eb3033c72099fab3536ed8ac54a5dc99f0832d7
10 changes: 8 additions & 2 deletions trunk/drivers/gpu/drm/nouveau/nv50_fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,16 @@
int
nv50_fb_init(struct drm_device *dev)
{
/* This is needed to get meaningful information from 100c90
* on traps. No idea what these values mean exactly. */
struct drm_nouveau_private *dev_priv = dev->dev_private;

/* Not a clue what this is exactly. Without pointing it at a
* scratch page, VRAM->GART blits with M2MF (as in DDX DFS)
* cause IOMMU "read from address 0" errors (rh#561267)
*/
nv_wr32(dev, 0x100c08, dev_priv->gart_info.sg_dummy_bus >> 8);

/* This is needed to get meaningful information from 100c90
* on traps. No idea what these values mean exactly. */
switch (dev_priv->chipset) {
case 0x50:
nv_wr32(dev, 0x100c90, 0x0707ff);
Expand Down

0 comments on commit e0708bb

Please sign in to comment.