summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_cp.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-12-19 10:23:14 +1100
committerDave Airlie <airlied@linux.ie>2008-12-29 17:47:24 +1000
commit4e74f36d08e83390121d088f1f62e3337603df89 (patch)
tree45c72eac210ad97f3f817d602d3d47e8a9edf12d /drivers/gpu/drm/radeon/radeon_cp.c
parent60f2ee0b4a6b852299d8e30aeb2af517ef5ee19c (diff)
downloadop-kernel-dev-4e74f36d08e83390121d088f1f62e3337603df89.zip
op-kernel-dev-4e74f36d08e83390121d088f1f62e3337603df89.tar.gz
drm/radeon: use locked rmmap to remove sarea mapping.
this exports the locked version of the symbol as struct_mutex locks it all. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_cp.c')
-rw-r--r--drivers/gpu/drm/radeon/radeon_cp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_cp.c b/drivers/gpu/drm/radeon/radeon_cp.c
index 4f5d1e9..63212d7 100644
--- a/drivers/gpu/drm/radeon/radeon_cp.c
+++ b/drivers/gpu/drm/radeon/radeon_cp.c
@@ -1804,7 +1804,7 @@ void radeon_master_destroy(struct drm_device *dev, struct drm_master *master)
master_priv->sarea_priv = NULL;
if (master_priv->sarea)
- drm_rmmap(dev, master_priv->sarea);
+ drm_rmmap_locked(dev, master_priv->sarea);
drm_free(master_priv, sizeof(*master_priv), DRM_MEM_DRIVER);
OpenPOWER on IntegriCloud