Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 126873
b: refs/heads/master
c: a75f284
h: refs/heads/master
i:
  126871: b7636c0
v: v3
  • Loading branch information
Dave Airlie committed Jan 7, 2009
1 parent 5790da9 commit 029ff2b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 241fa85b2bb655224357d713c251077dee3585ce
refs/heads/master: a75f28419a7efff611a81293d41d0e2137d7591e
6 changes: 3 additions & 3 deletions trunk/drivers/gpu/drm/drm_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -314,14 +314,14 @@ static void drm_cleanup(struct drm_device * dev)
DRM_DEBUG("mtrr_del=%d\n", retval);
}

if (dev->driver->unload)
dev->driver->unload(dev);

if (drm_core_has_AGP(dev) && dev->agp) {
drm_free(dev->agp, sizeof(*dev->agp), DRM_MEM_AGPLISTS);
dev->agp = NULL;
}

if (dev->driver->unload)
dev->driver->unload(dev);

drm_ht_remove(&dev->map_hash);
drm_ctxbitmap_cleanup(dev);

Expand Down

0 comments on commit 029ff2b

Please sign in to comment.