diff options
author | Ben Skeggs <darktama@iinet.net.au> | 2006-12-27 01:58:57 +1100 |
---|---|---|
committer | Ben Skeggs <darktama@iinet.net.au> | 2006-12-27 01:58:57 +1100 |
commit | c38ede06670b47620bbce33c5a4affd063769475 (patch) | |
tree | dc78fcdc9b3d85a368889c76f2a8133ae357a41c | |
parent | 9e019df75764a7ce79266ceb058307336ddf00ef (diff) |
nouveau: return the *actual* type of memory alloc'd to userspace
-rw-r--r-- | shared-core/nouveau_mem.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/shared-core/nouveau_mem.c b/shared-core/nouveau_mem.c index 82221c8f..4d4100eb 100644 --- a/shared-core/nouveau_mem.c +++ b/shared-core/nouveau_mem.c @@ -515,6 +515,7 @@ int nouveau_ioctl_mem_alloc(DRM_IOCTL_ARGS) if (!block) return DRM_ERR(ENOMEM); alloc.region_offset=block->start; + alloc.flags=block->flags; DRM_COPY_TO_USER_IOCTL((drm_nouveau_mem_alloc_t __user *) data, alloc, sizeof(alloc)); |