diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2011-10-26 00:20:57 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-07-19 22:50:28 -0400 |
commit | b0071efe827f68cf173e1a8868b70618e9aca7d7 (patch) | |
tree | 94b8d7ea720143811f223a2ae5ed2e7365390b52 /drivers/gpu/drm/drm_fops.c | |
parent | e2b3c5b64b35af35b0715936f88212c457394c2f (diff) |
drm: kill reclaim_buffers callback
All leftover users either haven't set DRIVER_HAVE_DMA, in which
case this will never be called, or use the drm_core implementation.
Call that directly in the only callsite.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_fops.c')
-rw-r--r-- | drivers/gpu/drm/drm_fops.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/gpu/drm/drm_fops.c b/drivers/gpu/drm/drm_fops.c index 6cf9369e8cd5..96b8c8f9c028 100644 --- a/drivers/gpu/drm/drm_fops.c +++ b/drivers/gpu/drm/drm_fops.c @@ -381,9 +381,8 @@ static void drm_master_release(struct drm_device *dev, struct file *filp) _DRM_LOCKING_CONTEXT(file_priv->master->lock.hw_lock->lock)); } - if (drm_core_check_feature(dev, DRIVER_HAVE_DMA)) { - dev->driver->reclaim_buffers(dev, file_priv); - } + 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) |