summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2008-05-07 12:46:06 -0700
committerEric Anholt <eric@anholt.net>2008-05-07 12:46:06 -0700
commit5f5f01ed91f5ad50f2b38e11740a30441ac845a4 (patch)
tree40d56359c9a6a97d8fb94ce5597050f72a315c49 /shared-core
parent6a6c37af9ecaabfe1399a1300cadaff730767013 (diff)
GEM: Extend cache domain stuff for 965.
One of our MI_FLUSH bits is reserved on 965, being always implied, and there's a vertex cache that was forgotten.
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/i915_drm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/shared-core/i915_drm.h b/shared-core/i915_drm.h
index 302fc646..8c3cd646 100644
--- a/shared-core/i915_drm.h
+++ b/shared-core/i915_drm.h
@@ -466,6 +466,7 @@ struct drm_i915_gem_relocation_entry {
#define DRM_GEM_DOMAIN_I915_COMMAND 0x00000008 /* Command queue, used to load batch buffers */
#define DRM_GEM_DOMAIN_I915_INSTRUCTION 0x00000010 /* Instruction cache, used by shader programs */
#define DRM_GEM_DOMAIN_I915_STOLEN 0x00000020 /* Stolen memory, needed by some objects */
+#define DRM_GEM_DOMAIN_I915_VERTEX 0x00000040 /* Vertex address cache */
struct drm_i915_gem_validate_entry {
/**