Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 37513
b: refs/heads/master
c: 1f4eccf
h: refs/heads/master
i:
  37511: 6b35b36
v: v3
  • Loading branch information
Thomas Hellstrom authored and Dave Airlie committed Sep 21, 2006
1 parent 2869f5e commit 28d02b2
Show file tree
Hide file tree
Showing 3 changed files with 5 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: fb41e54be4bad6f64d343d051d699efde3c92e2c
refs/heads/master: 1f4eccfdb2a5f8b2751aea8cf2d6b00401c156e0
2 changes: 2 additions & 0 deletions trunk/drivers/char/drm/drm_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ int drm_lastclose(drm_device_t * dev)
drm_ht_remove_item(&dev->magiclist, &pt->hash_item);
drm_free(pt, sizeof(*pt), DRM_MEM_MAGIC);
}
drm_ht_remove(&dev->magiclist);
}

/* Clear AGP information */
Expand Down Expand Up @@ -299,6 +300,7 @@ static void drm_cleanup(drm_device_t * dev)
if (dev->maplist) {
drm_free(dev->maplist, sizeof(*dev->maplist), DRM_MEM_MAPS);
dev->maplist = NULL;
drm_ht_remove(&dev->map_hash);
}

drm_ctxbitmap_cleanup(dev);
Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/char/drm/drm_fops.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ static int drm_setup(drm_device_t * dev)
return ret;
}

dev->magicfree.next = NULL;

/* prebuild the SAREA */
i = drm_addmap(dev, 0, SAREA_MAX, _DRM_SHM, _DRM_CONTAINS_LOCK, &map);
if (i != 0)
Expand Down

0 comments on commit 28d02b2

Please sign in to comment.