diff options
author | Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> | 2007-02-07 17:25:13 +0100 |
---|---|---|
committer | Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> | 2007-02-07 17:25:13 +0100 |
commit | c1fbd8a56653b91af57a408bbcf20a760a2bd8c8 (patch) | |
tree | 7da84cce76fa47b7950a2f849d2fbd4b5925b223 /linux-core/drmP.h | |
parent | af24465b2eddfcc5296edc830ea5ed86065a4abd (diff) |
Checkpoint commit.
Flag handling and memory type selection cleanup.
glxgears won't start.
Diffstat (limited to 'linux-core/drmP.h')
-rw-r--r-- | linux-core/drmP.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/linux-core/drmP.h b/linux-core/drmP.h index cdab1cb1..d3a9a2a5 100644 --- a/linux-core/drmP.h +++ b/linux-core/drmP.h @@ -652,10 +652,12 @@ typedef struct drm_ref_object { #define _DRM_FLAG_MEMTYPE_FIXED 0x00000001 /* Fixed (on-card) PCI memory */ #define _DRM_FLAG_MEMTYPE_MAPPABLE 0x00000002 /* Memory mappable */ -#define _DRM_FLAG_MEMTYPE_CACHED 0x00000004 /* Supports cached binding */ +#define _DRM_FLAG_MEMTYPE_CACHED 0x00000004 /* Cached binding */ #define _DRM_FLAG_NEEDS_IOREMAP 0x00000008 /* Fixed memory needs ioremap before kernel access. */ #define _DRM_FLAG_MEMTYPE_CMA 0x00000010 /* Can't map aperture */ +#define _DRM_FLAG_MEMTYPE_CSELECT 0x00000020 /* Select caching */ + typedef struct drm_mem_type_manager { int has_type; |