diff options
author | Dave Airlie <airlied@redhat.com> | 2008-08-04 14:53:45 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-08-04 14:54:02 +1000 |
commit | af6efc3d778b96164849f822331938c4cdf8f4b2 (patch) | |
tree | ae71f1f1ed140da5bcfdf86133b1fbca046a561e /shared-core | |
parent | 129c8a11814741a997e3d039ab4be542d38e5ed8 (diff) |
i915/radeon: use rmmap locked
Diffstat (limited to 'shared-core')
-rw-r--r-- | shared-core/i915_init.c | 2 | ||||
-rw-r--r-- | shared-core/radeon_cp.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/shared-core/i915_init.c b/shared-core/i915_init.c index 3a652e8d..dc218688 100644 --- a/shared-core/i915_init.c +++ b/shared-core/i915_init.c @@ -443,7 +443,7 @@ void i915_master_destroy(struct drm_device *dev, struct drm_master *master) return; 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); diff --git a/shared-core/radeon_cp.c b/shared-core/radeon_cp.c index 48f72ab0..b69fadbb 100644 --- a/shared-core/radeon_cp.c +++ b/shared-core/radeon_cp.c @@ -2535,7 +2535,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); |