diff options
author | Ben Skeggs <skeggsb@gmail.com> | 2007-07-12 10:15:16 +1000 |
---|---|---|
committer | Ben Skeggs <skeggsb@gmail.com> | 2007-07-12 10:46:57 +1000 |
commit | 750371cb6ea9a64c9d4d4d3b9716c3c68d810d48 (patch) | |
tree | c7ce6b65caf4fba9b8dad69dc236cef0964795f7 /shared-core/nouveau_drm.h | |
parent | 5fbdf9da8bda996c0a474d13fe69d260f12ffce7 (diff) |
nouveau: separate region_offset into map_handle and offset.
Diffstat (limited to 'shared-core/nouveau_drm.h')
-rw-r--r-- | shared-core/nouveau_drm.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/shared-core/nouveau_drm.h b/shared-core/nouveau_drm.h index 7abe82e0..78ab9508 100644 --- a/shared-core/nouveau_drm.h +++ b/shared-core/nouveau_drm.h @@ -25,7 +25,7 @@ #ifndef __NOUVEAU_DRM_H__ #define __NOUVEAU_DRM_H__ -#define NOUVEAU_DRM_HEADER_PATCHLEVEL 8 +#define NOUVEAU_DRM_HEADER_PATCHLEVEL 9 typedef struct drm_nouveau_fifo_alloc { uint32_t fb_ctxdma_handle; @@ -80,12 +80,13 @@ typedef struct drm_nouveau_mem_alloc { int flags; int alignment; uint64_t size; // in bytes - uint64_t region_offset; + uint64_t offset; + drm_handle_t map_handle; } drm_nouveau_mem_alloc_t; typedef struct drm_nouveau_mem_free { - uint64_t region_offset; + uint64_t offset; int flags; } drm_nouveau_mem_free_t; |