intel: aubinator_error_decode: fix segfault on missing register
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Thu, 22 Feb 2018 13:41:10 +0000 (13:41 +0000)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 26 Feb 2018 16:54:48 +0000 (16:54 +0000)
commitfca9f5b5851d2eeba6d030e28dd783017fef55cf
tree2903fe1674045d5e89f45b3827f4289887455b53
parent11d45304fd20bbdf07222830e76d3f9977e803b4
intel: aubinator_error_decode: fix segfault on missing register

Some register might be missing in our genxmls. Don't try to decode
them.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/tools/aubinator_error_decode.c