intel/batch_decoder: Recurse for all 2nd level batches
authorJason Ekstrand <jason.ekstrand@intel.com>
Mon, 9 Jul 2018 22:58:33 +0000 (15:58 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 9 Jul 2018 23:40:54 +0000 (16:40 -0700)
commit5009e73bb1e0d38fc2accedcf59fae6f6ccdf95a
tree31ab8acc97134e5c30f8886a0945de68b81dae9f
parent45e25adfe8913ae554205e9ae8766fae4afcdc35
intel/batch_decoder: Recurse for all 2nd level batches

Our attempt to restart the loop with the second level batch worked at
one point but got broken at some point.  It was too fragile anyway and
we're not likely to have enough secondaries to actually overflow the
stack so we may as well recurse in both cases.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/common/gen_batch_decoder.c