summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-10-06 15:25:21 -0700
committerEric Anholt <eric@anholt.net>2009-10-06 15:45:10 -0700
commit02c775fc750b48ae25b6a4af51afbfe090ebada4 (patch)
tree7cdceb7cdd4890c1bb566aa88116e9a71df212b2
parentd70d60529f77ec73322be7b887fd6a3faf133bce (diff)
intel: Fix up some stale doxygen comments.
-rw-r--r--libdrm/intel/intel_bufmgr.h5
-rw-r--r--libdrm/intel/intel_bufmgr_priv.h5
2 files changed, 5 insertions, 5 deletions
diff --git a/libdrm/intel/intel_bufmgr.h b/libdrm/intel/intel_bufmgr.h
index 9f07a941..0dbe8801 100644
--- a/libdrm/intel/intel_bufmgr.h
+++ b/libdrm/intel/intel_bufmgr.h
@@ -56,8 +56,9 @@ struct _drm_intel_bo {
unsigned long align;
/**
- * Card virtual address (offset from the beginning of the aperture)
- * for the object. Only valid while validated.
+ * Last seen card virtual address (offset from the beginning of the
+ * aperture) for the object. This should be used to fill relocation
+ * entries when calling drm_intel_bo_emit_reloc()
*/
unsigned long offset;
diff --git a/libdrm/intel/intel_bufmgr_priv.h b/libdrm/intel/intel_bufmgr_priv.h
index b7cae6f2..3b19eca1 100644
--- a/libdrm/intel/intel_bufmgr_priv.h
+++ b/libdrm/intel/intel_bufmgr_priv.h
@@ -45,8 +45,7 @@ struct _drm_intel_bufmgr {
*
* Buffer objects are not necessarily initially mapped into CPU virtual
* address space or graphics device aperture. They must be mapped
- * using bo_map() to be used by the CPU, and validated for use using
- * bo_validate() to be used from the graphics device.
+ * using bo_map() or drm_intel_gem_bo_map_gtt() to be used by the CPU.
*/
drm_intel_bo *(*bo_alloc) (drm_intel_bufmgr *bufmgr, const char *name,
unsigned long size, unsigned int alignment);
@@ -67,7 +66,7 @@ struct _drm_intel_bufmgr {
/**
* Releases a reference on a buffer object, freeing the data if
- * rerefences remain.
+ * no references remain.
*/
void (*bo_unreference) (drm_intel_bo *bo);