Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 46777
b: refs/heads/master
c: 756db73
h: refs/heads/master
i:
  46775: d45ad4f
v: v3
  • Loading branch information
Thomas Hellstrom authored and Dave Airlie committed Feb 8, 2007
1 parent f3b422c commit 12d3acf
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 1d58420bad15d08f93bf1e0342c1b1d1234d69b7
refs/heads/master: 756db73df7b7d6b9f6421c1fb2e1cabeaede5846
5 changes: 5 additions & 0 deletions trunk/drivers/char/drm/via_dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,11 @@ static int via_initialize(drm_device_t * dev,
return DRM_ERR(EFAULT);
}

if (dev_priv->chipset == VIA_DX9_0) {
DRM_ERROR("AGP DMA is not supported on this chip\n");
return DRM_ERR(EINVAL);
}

dev_priv->ring.map.offset = dev->agp->base + init->offset;
dev_priv->ring.map.size = init->size;
dev_priv->ring.map.type = 0;
Expand Down

0 comments on commit 12d3acf

Please sign in to comment.