Bug in conversion from old DRM to core DRM....

main
Dave Airlie 2005-06-29 02:57:18 +00:00
parent c798a382f1
commit 2ce5ddec83
1 changed files with 1 additions and 1 deletions

View File

@ -394,7 +394,7 @@ int drm_release(struct inode *inode, struct file *filp)
}
}
if (drm_core_check_feature(dev, DRIVER_HAVE_DMA)) {
if (drm_core_check_feature(dev, DRIVER_HAVE_DMA) && !dev->driver->release) {
dev->driver->reclaim_buffers(dev, filp);
}