intel/aubinator: Add a get_address helper
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 18 Nov 2016 19:14:59 +0000 (11:14 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 29 Nov 2016 00:45:09 +0000 (16:45 -0800)
commit294daaa36f86530d30e61eb6228b61a474a3c6ad
tree4703f13af95eb92b4ced6fa6923001b7d0ad5a45
parentd6cef320477354f1c139c0bb7fb9b68731aa15cd
intel/aubinator: Add a get_address helper

This new helper is automatically handles 32 vs. 48-bit GTT issues.  It also
handles 48-bit canonical addresses on Broadwell and above.

Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
src/intel/tools/aubinator.c