summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLionel Landwerlin <[email protected]>2018-05-01 22:18:11 +0100
committerLionel Landwerlin <[email protected]>2018-05-02 17:10:37 +0100
commit467430ddcc85be34bd79a3709b33e4510e3c9370 (patch)
tree934e4a9260dfafd785c301b7ecd4b1bdb60b9560
parent4f128f7850e64829b8b1399ef0bdfd1eec7f4504 (diff)
intel: decoder: document when fields should be used
Signed-off-by: Lionel Landwerlin <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
-rw-r--r--src/intel/common/gen_decoder.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/intel/common/gen_decoder.h b/src/intel/common/gen_decoder.h
index 7d3bedca5b5..8324ff95696 100644
--- a/src/intel/common/gen_decoder.h
+++ b/src/intel/common/gen_decoder.h
@@ -103,7 +103,7 @@ struct gen_group {
uint32_t dw_length;
uint32_t group_offset, group_count;
uint32_t group_size;
- bool variable;
+ bool variable; /* <group> specific */
bool fixed_length; /* True for <struct> & <register> */
struct gen_group *parent;
@@ -112,8 +112,7 @@ struct gen_group {
uint32_t opcode_mask;
uint32_t opcode;
- /* Register specific */
- uint32_t register_offset;
+ uint32_t register_offset; /* <register> specific */
};
struct gen_value {