Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 190571
b: refs/heads/master
c: ccb2ad5
h: refs/heads/master
i:
  190569: 15021cd
  190567: 74ce625
v: v3
  • Loading branch information
Robert Fitzsimons authored and Dave Airlie committed Apr 28, 2010
1 parent ed6bcbd commit 298ebce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 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: 797fd5b9dad12a100c81b5782573a41259728cb1
refs/heads/master: ccb2ad579f910e6146adf4eb3aa50325253ee8c9
10 changes: 4 additions & 6 deletions trunk/drivers/gpu/drm/radeon/radeon_agp.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,12 +134,10 @@ int radeon_agp_init(struct radeon_device *rdev)
int ret;

/* Acquire AGP. */
if (!rdev->ddev->agp->acquired) {
ret = drm_agp_acquire(rdev->ddev);
if (ret) {
DRM_ERROR("Unable to acquire AGP: %d\n", ret);
return ret;
}
ret = drm_agp_acquire(rdev->ddev);
if (ret) {
DRM_ERROR("Unable to acquire AGP: %d\n", ret);
return ret;
}

ret = drm_agp_info(rdev->ddev, &info);
Expand Down

0 comments on commit 298ebce

Please sign in to comment.