i915/radeon: use rmmap locked
parent
129c8a1181
commit
af6efc3d77
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue