Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 179901
b: refs/heads/master
c: 0a3f316
h: refs/heads/master
i:
  179899: 18913f6
v: v3
  • Loading branch information
Jerome Glisse authored and Dave Airlie committed Jan 14, 2010
1 parent cf67450 commit e471690
Show file tree
Hide file tree
Showing 2 changed files with 8 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: 30d2d9a54d48e4fefede0389ded1b6fc2d44a522
refs/heads/master: 0a3f316370da07fcdb11fde4f5a683d60713b7fd
7 changes: 7 additions & 0 deletions trunk/drivers/gpu/drm/radeon/radeon_agp.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,13 @@ int radeon_agp_init(struct radeon_device *rdev)
bool is_v3;
int ret;

if (rdev->ddev->agp->agp_info.aper_size < 32) {
dev_warn(rdev->dev, "AGP aperture to small (%dM) "
"need at least 32M, disabling AGP\n",
rdev->ddev->agp->agp_info.aper_size);
return -EINVAL;
}

/* Acquire AGP. */
if (!rdev->ddev->agp->acquired) {
ret = drm_agp_acquire(rdev->ddev);
Expand Down

0 comments on commit e471690

Please sign in to comment.