summaryrefslogtreecommitdiff
path: root/shared-core/via_map.c
diff options
context:
space:
mode:
Diffstat (limited to 'shared-core/via_map.c')
-rw-r--r--shared-core/via_map.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/shared-core/via_map.c b/shared-core/via_map.c
index afafadf1..02be344d 100644
--- a/shared-core/via_map.c
+++ b/shared-core/via_map.c
@@ -83,6 +83,8 @@ int via_do_cleanup_map(drm_device_t *dev)
drm_via_private_t *dev_priv = dev->dev_private;
+ via_dma_cleanup(dev);
+
DRM(free)(dev_priv, sizeof(drm_via_private_t),
DRM_MEM_DRIVER);
dev->dev_private = NULL;