summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_builder.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2014-09-12 11:20:55 +0800
committerChia-I Wu <[email protected]>2014-09-12 16:58:30 +0800
commita77aaf43630187064b8d04a0da736863ee904781 (patch)
tree2341800471206b119373f5638eb501485dfd49c6 /src/gallium/drivers/ilo/ilo_builder.h
parent0c6a9cde9434717131561c6c4e53ab8e584aec28 (diff)
ilo: clean up MI functions
With ilo_builder in place, some conventions we had to build commands are no longer needed.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_builder.h')
-rw-r--r--src/gallium/drivers/ilo/ilo_builder.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/drivers/ilo/ilo_builder.h b/src/gallium/drivers/ilo/ilo_builder.h
index cd8e65194e0..eb9e05de207 100644
--- a/src/gallium/drivers/ilo/ilo_builder.h
+++ b/src/gallium/drivers/ilo/ilo_builder.h
@@ -265,7 +265,8 @@ ilo_builder_writer_reloc(struct ilo_builder *builder,
/**
* Reserve a region from the state buffer. Both the offset, in bytes, and the
- * pointer to the reserved region are returned.
+ * pointer to the reserved region are returned. The pointer is only valid
+ * until the next reserve call.
*
* Note that \p alignment is in bytes and \p len is in DWords.
*/
@@ -380,7 +381,8 @@ ilo_builder_instruction_write(struct ilo_builder *builder,
/**
* Reserve a region from the batch buffer. Both the offset, in DWords, and
- * the pointer to the reserved region are returned.
+ * the pointer to the reserved region are returned. The pointer is only valid
+ * until the next reserve call.
*
* Note that \p len is in DWords.
*/