summaryrefslogtreecommitdiff
path: root/lib/intel_batchbuffer.h
diff options
context:
space:
mode:
authorThomas Wood <thomas.wood@intel.com>2014-06-09 17:23:21 +0100
committerThomas Wood <thomas.wood@intel.com>2014-06-12 10:12:13 +0100
commit52a3a2e205da1679487a99699713dee240437255 (patch)
tree0e7b44adb3f000757c2a02e8f227f0179a6efb3a /lib/intel_batchbuffer.h
parent25663d9fe3d6e762132022e1af651a99f9b928a3 (diff)
lib: various documentation fixes
Fix some documentation comments and mark some struct members private. Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Diffstat (limited to 'lib/intel_batchbuffer.h')
-rw-r--r--lib/intel_batchbuffer.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/intel_batchbuffer.h b/lib/intel_batchbuffer.h
index 49dbcf0a..37151618 100644
--- a/lib/intel_batchbuffer.h
+++ b/lib/intel_batchbuffer.h
@@ -204,14 +204,10 @@ void intel_copy_bo(struct intel_batchbuffer *batch,
* @tiling: tiling mode bits
* @data: pointer to the memory mapping of the buffer
* @size: size of the buffer object
- * @num_tiles: number of tiles of the buffer object
*
* This is a i-g-t buffer object wrapper structure which augments the baseline
* libdrm buffer object with suitable data needed by the render copy and the
* media fill functions.
- *
- * Note that @num_tiles is only used by gem_stress.c internally and can be
- * ignored.
*/
struct igt_buf {
drm_intel_bo *bo;
@@ -219,6 +215,7 @@ struct igt_buf {
uint32_t tiling;
uint32_t *data;
uint32_t size;
+ /*< private >*/
unsigned num_tiles;
};