From: <dar...@ke...> - 2006-12-26 15:07:45
|
shared-core/nouveau_mem.c | 1 + 1 files changed, 1 insertion(+) New commits: diff-tree c38ede06670b47620bbce33c5a4affd063769475 (from 9e019df75764a7ce79266ceb058307336ddf00ef) Author: Ben Skeggs <dar...@ii...> Date: Wed Dec 27 01:58:57 2006 +1100 nouveau: return the *actual* type of memory alloc'd to userspace diff --git a/shared-core/nouveau_mem.c b/shared-core/nouveau_mem.c index 82221c8..4d4100e 100644 --- a/shared-core/nouveau_mem.c +++ b/shared-core/nouveau_mem.c @@ -515,6 +515,7 @@ int nouveau_ioctl_mem_alloc(DRM_IOCTL_AR 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)); |