mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-01-04 15:40:25 +01:00
added return -EINVAL in drm_dma_enqueue()
This commit is contained in:
parent
4779f2f50e
commit
462ded9c91
1 changed files with 1 additions and 0 deletions
|
|
@ -431,6 +431,7 @@ int drm_dma_enqueue(drm_device_t *dev, drm_dma_t *d)
|
|||
atomic_dec(&q->use_count);
|
||||
DRM_ERROR("Process %d using buffer %d on list %d\n",
|
||||
current->pid, buf->idx, buf->list);
|
||||
return -EINVAL;
|
||||
}
|
||||
buf->used = d->send_sizes[i];
|
||||
buf->while_locked = while_locked;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue