diff options
author | Felix Kuehling <fxkuehl@gmx.de> | 2005-01-01 20:03:15 +0000 |
---|---|---|
committer | Felix Kuehling <fxkuehl@gmx.de> | 2005-01-01 20:03:15 +0000 |
commit | ed165a25292740d5d3ef7e78dc04a6a3402562aa (patch) | |
tree | 28545324112665f06e11a8f1ae5d786b1672595e /shared-core | |
parent | fe4ade81bb7a1242b18b84e012c1a293eea0420b (diff) |
Added a new DRM map type _DRM_CONSISTENT for consistent PCI memory. It uses
drm_pci_alloc/free for allocating/freeing the memory. Only implemented
in the Linux DRM so far.
Diffstat (limited to 'shared-core')
-rw-r--r-- | shared-core/drm.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/shared-core/drm.h b/shared-core/drm.h index 0d907629..f223542e 100644 --- a/shared-core/drm.h +++ b/shared-core/drm.h @@ -246,7 +246,8 @@ typedef enum drm_map_type { _DRM_REGISTERS = 1, /**< no caching, no core dump */ _DRM_SHM = 2, /**< shared, cached */ _DRM_AGP = 3, /**< AGP/GART */ - _DRM_SCATTER_GATHER = 4 /**< Scatter/gather memory for PCI DMA */ + _DRM_SCATTER_GATHER = 4, /**< Scatter/gather memory for PCI DMA */ + _DRM_CONSISTENT = 5 /**< Consistent memory for PCI DMA */ } drm_map_type_t; /** |