Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 318729
b: refs/heads/master
c: 67cb4b4
h: refs/heads/master
i:
  318727: 3e27f19
v: v3
  • Loading branch information
Daniel Vetter authored and Dave Airlie committed Jul 20, 2012
1 parent 2dddd55 commit 1e137ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a344a7e7c27776950a70ce4b829a9ac15a212e65
refs/heads/master: 67cb4b4dd4b3bb38626a841200638a4e953ea3fd
6 changes: 3 additions & 3 deletions trunk/drivers/gpu/drm/drm_fops.c
Original file line number Diff line number Diff line change
Expand Up @@ -376,9 +376,6 @@ static void drm_master_release(struct drm_device *dev, struct file *filp)
drm_lock_free(&file_priv->master->lock,
_DRM_LOCKING_CONTEXT(file_priv->master->lock.hw_lock->lock));
}

if (drm_core_check_feature(dev, DRIVER_HAVE_DMA))
drm_core_reclaim_buffers(dev, file_priv);
}

static void drm_events_release(struct drm_file *file_priv)
Expand Down Expand Up @@ -448,6 +445,9 @@ int drm_release(struct inode *inode, struct file *filp)
if (file_priv->minor->master)
drm_master_release(dev, filp);

if (drm_core_check_feature(dev, DRIVER_HAVE_DMA))
drm_core_reclaim_buffers(dev, file_priv);

drm_events_release(file_priv);

if (dev->driver->driver_features & DRIVER_MODESET)
Expand Down

0 comments on commit 1e137ee

Please sign in to comment.