intel/tools: Use common code for GGTT address allocation.
authorRafael Antognolli <rafael.antognolli@intel.com>
Tue, 17 Sep 2019 01:12:02 +0000 (18:12 -0700)
committerRafael Antognolli <rafael.antognolli@intel.com>
Thu, 10 Oct 2019 14:08:50 +0000 (14:08 +0000)
commit472de611870448fcfb99606c340bfdc6d5616301
treef43758953000aae28c6d8fba065d0d0975137382
parent9968316ed0de22542b61c0fc686bcc30d140e16e
intel/tools: Use common code for GGTT address allocation.

We want to be able to create contexts on demand, and increase the GGTT
as needed for that. Use the aub_map_ggtt() function for that.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/tools/aub_write.c
src/intel/tools/aub_write.h