intel: decoder: unify MI_BB_START field naming
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 14 Aug 2018 10:22:12 +0000 (11:22 +0100)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 24 Aug 2018 22:10:08 +0000 (23:10 +0100)
commitf430a37fa75f534c3a114b0ec546fa14f05f5da1
tree0467ded580a9c3181567e992e9701d495b55409f
parent7f745c19c198cf175b6c932d236e08931f302b72
intel: decoder: unify MI_BB_START field naming

The batch decoder looks for a field with a particular name to decide
whether an MI_BB_START leads into a second batch buffer level. Because
the names are different between Gen7.5/8 and the newer generation we
fail that test and keep on reading (invalid) instructions.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107544
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/genxml/gen75.xml
src/intel/genxml/gen8.xml
src/intel/vulkan/anv_batch_chain.c