intel: Future-proof ring names for aubinator_error_decode
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 17 Jan 2018 15:41:25 +0000 (15:41 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 18 Jan 2018 17:35:21 +0000 (17:35 +0000)
commit34499e8ddce09a55210e776700ee6de2fc6df6b2
treea381a5cc8d880ca82f0945845ba9f047f0668d29
parent3e18c53e59457f585de217208e1745f2683be0b9
intel: Future-proof ring names for aubinator_error_decode

The kernel is moving to a $class$instance naming scheme in preparation
for accommodating more rings in the future in a consistent manner. It is
already using the naming scheme internally, and now we are looking at
updating some soft-ABI such as the error state to use the new naming
scheme. This of course means we need to teach aubinator_error_decode how
to map both sets of ring names onto its register maps.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Michel Thierry <michel.thierry@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Michel Thierry <michel.thierry@intel.com>
src/intel/tools/aubinator_error_decode.c