提交 0c7b525c 编写于 作者: D Dave Airlie 提交者: Dave Airlie

drm: fix minor issues caused by core conversion

The conversion to core/driver got this check in-correct.
Signed-off-by: NDave Airlie <airlied@linux.ie>
上级 c101f313
......@@ -251,7 +251,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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册