mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-08 04:38:04 +02:00
nouveau: user buffers need to be mappable
This commit is contained in:
parent
001331f4f1
commit
0bf8fb3bce
1 changed files with 1 additions and 1 deletions
|
|
@ -235,7 +235,7 @@ nouveau_bo_user(struct nouveau_device *dev, void *ptr, int size,
|
|||
struct nouveau_bo_priv *nvbo;
|
||||
int ret;
|
||||
|
||||
ret = nouveau_bo_new(dev, 0, 0, size, bo);
|
||||
ret = nouveau_bo_new(dev, NOUVEAU_BO_MAP, 0, size, bo);
|
||||
if (ret)
|
||||
return ret;
|
||||
nvbo = nouveau_bo(*bo);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue