intel/error2aub: build a list of BOs before writing them
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Thu, 23 Aug 2018 17:06:22 +0000 (18:06 +0100)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 8 Mar 2019 11:01:14 +0000 (11:01 +0000)
commita07f5262f0f80b842725c5cb69b9062a78c45da2
tree391213c2e19e78c998835ea46decf98efa0ecc8d
parent04ddff1aa46e22813b94cd452f959a8fc557603d
intel/error2aub: build a list of BOs before writing them

The error state contains several kind of BOs, including the context
image which we will want to write in a later commit. Because it can
come later in the error state than the user buffers and because we
need to write it first in the aub file, we have to first build a list
of BOs and then write them in the appropriate order.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Rafael Antognolli <rafael.antognolli@intel.com>
src/intel/tools/error2aub.c