freedreno: install register db
The main purpose of the MR is to install the register .xml files, so that an installed cffdump/cffdec executables are useful without having a mesa checkout. It also includes a few tweaks to cleanup some hacks with automated syncing back to envytools.
To reduce installed size, the .xml files are gzip'd.. conveniently libxml2 already supports loading gzip'd xml.
- installed .xml.gz size: 160K
- size without compression (for comparision): 724K
- size of crashdec: 349K
- size of cffdump: 354K
Presumably if distros split out a mesa-tools package, they would want /usr/share/freedreno/registers to be part of the mesa-tools package.