mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-09 07:28:42 +02:00
fixup issue caused by fntbl-2 merge
This commit is contained in:
parent
4a89c75456
commit
6916572c1c
2 changed files with 0 additions and 8 deletions
|
|
@ -202,10 +202,6 @@ int DRM(control)( struct inode *inode, struct file *filp,
|
|||
drm_device_t *dev = priv->dev;
|
||||
drm_control_t ctl;
|
||||
|
||||
/* if we haven't dma then no need for this control */
|
||||
if (!(dev->driver_features & DRIVER_HAVE_DMA))
|
||||
return -EINVAL;
|
||||
|
||||
/* if we haven't irq we fallback for compatibility reasons - this used to be a separate function in drm_dma.h */
|
||||
|
||||
if ( copy_from_user( &ctl, (drm_control_t __user *)arg, sizeof(ctl) ) )
|
||||
|
|
|
|||
|
|
@ -202,10 +202,6 @@ int DRM(control)( struct inode *inode, struct file *filp,
|
|||
drm_device_t *dev = priv->dev;
|
||||
drm_control_t ctl;
|
||||
|
||||
/* if we haven't dma then no need for this control */
|
||||
if (!(dev->driver_features & DRIVER_HAVE_DMA))
|
||||
return -EINVAL;
|
||||
|
||||
/* if we haven't irq we fallback for compatibility reasons - this used to be a separate function in drm_dma.h */
|
||||
|
||||
if ( copy_from_user( &ctl, (drm_control_t __user *)arg, sizeof(ctl) ) )
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue