diff options
Diffstat (limited to 'drivers/char/drm/drm_drv.c')
-rw-r--r-- | drivers/char/drm/drm_drv.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/char/drm/drm_drv.c b/drivers/char/drm/drm_drv.c index 3333c250c4d9..f4046c8c70b5 100644 --- a/drivers/char/drm/drm_drv.c +++ b/drivers/char/drm/drm_drv.c | |||
@@ -228,6 +228,10 @@ int drm_takedown( drm_device_t *dev ) | |||
228 | dev->sg = NULL; | 228 | dev->sg = NULL; |
229 | } | 229 | } |
230 | break; | 230 | break; |
231 | case _DRM_CONSISTENT: | ||
232 | drm_pci_free(dev, map->size, | ||
233 | map->handle, map->offset); | ||
234 | break; | ||
231 | } | 235 | } |
232 | drm_free(map, sizeof(*map), DRM_MEM_MAPS); | 236 | drm_free(map, sizeof(*map), DRM_MEM_MAPS); |
233 | } | 237 | } |