This series is a re-spin of some patches that Chad wrote to add a genX_bits.h header which contains functions for getting the number of bits in any given hardware state field.
The first few patches are fixes for genxml. There were a bunch of places where the sanitized field names matched but not the actual field names because of extra spaces or some such. This cleans those up. Then Dylna respun Chad's generator to use mako and I respun it again to make the *_bits functions it generates take a gen_device_info struct instead of int(gen x 10). Cc: Chad Versace <[email protected]> Chad Versace (3): genxml: Define GENXML_XML_FILES in Makefile.sources genxml: Fix gen_zipped_file.py dependency genxml: New generated header genX_bits.h (v2) Jason Ekstrand (5): genxml: Rename two MCS fields to Auxiliary Surface on gen7 genxml/gen8: Remove BLACK_LEVEL_CORRECTION_STATE genxml/gen6: Remove a couple of bogus values genxml: Replace "[N]" with "N" genxml: Whitespace fixes src/intel/Makefile.genxml.am | 17 +-- src/intel/Makefile.sources | 16 +- src/intel/genxml/.gitignore | 1 + src/intel/genxml/gen6.xml | 30 ++-- src/intel/genxml/gen7.xml | 40 ++--- src/intel/genxml/gen75.xml | 38 ++--- src/intel/genxml/gen8.xml | 14 +- src/intel/genxml/gen9.xml | 8 +- src/intel/genxml/gen_bits_header.py | 293 ++++++++++++++++++++++++++++++++++++ src/intel/isl/isl_surface_state.c | 7 +- 10 files changed, 379 insertions(+), 85 deletions(-) create mode 100644 src/intel/genxml/gen_bits_header.py -- 2.5.0.400.gff86faf _______________________________________________ mesa-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-dev
