diff options
-rw-r--r-- | libdrm/intel/intel_bufmgr.h | 5 | ||||
-rw-r--r-- | libdrm/intel/intel_bufmgr_priv.h | 5 |
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); |