summaryrefslogtreecommitdiffstats
path: root/src/intel/common/gen_decoder.c
diff options
context:
space:
mode:
authorLionel Landwerlin <[email protected]>2017-09-28 02:37:20 +0100
committerLionel Landwerlin <[email protected]>2017-11-01 17:23:49 +0000
commit69d158573a174fb2a2ece6500d4572a3cff1c74f (patch)
tree08b5eb7e9624f676fb291150503119df446dcc0f /src/intel/common/gen_decoder.c
parent20156931bf456932a4b53ad6685da42a7ad33ec2 (diff)
intel: decoder: rename internal function to free name
Signed-off-by: Lionel Landwerlin <[email protected]> Reviewed-by: Scott D Phillips <[email protected]>
Diffstat (limited to 'src/intel/common/gen_decoder.c')
-rw-r--r--src/intel/common/gen_decoder.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/intel/common/gen_decoder.c b/src/intel/common/gen_decoder.c
index 760a8769c56..c0d1d8670ba 100644
--- a/src/intel/common/gen_decoder.c
+++ b/src/intel/common/gen_decoder.c
@@ -827,7 +827,7 @@ iter_advance_field(struct gen_field_iterator *iter)
}
static void
-gen_field_decode(struct gen_field_iterator *iter)
+iter_decode_field(struct gen_field_iterator *iter)
{
union {
uint64_t qw;
@@ -937,7 +937,7 @@ gen_field_iterator_init(struct gen_field_iterator *iter,
iter->p_end = &p[gen_group_get_length(iter->group, iter->p)];
iter->print_colors = print_colors;
- gen_field_decode(iter);
+ iter_decode_field(iter);
}
bool
@@ -946,7 +946,7 @@ gen_field_iterator_next(struct gen_field_iterator *iter)
if (!iter_advance_field(iter))
return false;
- gen_field_decode(iter);
+ iter_decode_field(iter);
return true;
}