intel/aub_write: factorize context image/pphwsp/ring creation
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 3 Sep 2018 14:11:08 +0000 (15:11 +0100)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Thu, 7 Mar 2019 15:08:32 +0000 (15:08 +0000)
commit0b3871bc7f4dc89895551ab87ee7b25b166e1a6d
treeac53ca947994e84a509ea5dea7b2609ac4ed8712
parentc1a2c72e76fa5ace071d6ff91654918f562c292c
intel/aub_write: factorize context image/pphwsp/ring creation

We allocate GGTT entries and physical addresses are we create engines
rather than having a fixed layout.

Context images now receive a parameter argument which is used to setup
pml4 & ring buffer addresses.

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