summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2008-05-10 21:04:18 -0700
committerKeith Packard <keithp@keithp.com>2008-05-10 21:04:18 -0700
commita37ac493da1730436028ecc79a38513380ce15d0 (patch)
tree562cd14fa4dba9d913246d2e4034d21215e4d4a3 /shared-core
parent1e26ca44c9f3e8a1a30652aa860b405e0248aae1 (diff)
[intel-GEM] Clean up GEM ioctl naming.
Rename 'validate_entry' to 'exec_object', then clean up some field names in structures (renaming buffer_offset to just offset, for example).
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/i915_drm.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/shared-core/i915_drm.h b/shared-core/i915_drm.h
index d71447e6..5f7cefeb 100644
--- a/shared-core/i915_drm.h
+++ b/shared-core/i915_drm.h
@@ -474,12 +474,12 @@ struct drm_i915_gem_relocation_entry {
#define DRM_GEM_DOMAIN_I915_INSTRUCTION 0x00000010 /* Instruction cache, used by shader programs */
#define DRM_GEM_DOMAIN_I915_VERTEX 0x00000020 /* Vertex address cache */
-struct drm_i915_gem_validate_entry {
+struct drm_i915_gem_exec_object {
/**
* User's handle for a buffer to be bound into the GTT for this
* operation.
*/
- uint32_t buffer_handle;
+ uint32_t handle;
/** List of relocations to be performed on this buffer */
uint32_t relocation_count;
@@ -489,10 +489,10 @@ struct drm_i915_gem_validate_entry {
uint64_t alignment;
/**
- * Returned value of the updated offset of the buffer, for future
+ * Returned value of the updated offset of the object, for future
* presumed_offset writes.
*/
- uint64_t buffer_offset;
+ uint64_t offset;
};
struct drm_i915_gem_execbuffer {