summaryrefslogtreecommitdiff
path: root/tools/null_state_gen/intel_null_state_gen.c
AgeCommit message (Collapse)Author
2015-09-08tools/null_state_gen: fix various compiler warningsThomas Wood
Add the debug and warning flags to cflags and fix the resulting issues. Signed-off-by: Thomas Wood <thomas.wood@intel.com>
2014-10-10tools/null_state_gen: Add GEN9 golden context batch buffer creationArmin Reese
Modifications to 'null_state_gen' so it can generate GEN9 golden context batch buffer source for SKL. v2: - rebased on top of gen8 changes (Mika) - fixed state base address command size (Mika) - base address size macro as pages (Mika) v3: - rebased on top of current master (Mika) - removed obsolete #includes (Mika) - added copyright (Mika) - render and component packing added (Mika) Cc: Damien Lespiau <damien.lespiau@intel.com> Cc: Armin Reese <armin.c.reese@intel.com> Cc: Volkin, Bradley D <bradley.d.volkin@intel.com> Reviewed-by: Volkin, Bradley D <bradley.d.volkin@intel.com> (v2) Signed-off-by: Armin Reese <armin.c.reese@intel.com> (v1) Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
2014-10-09tools/null_state_gen: Add more debug outputMika Kuoppala
Be more verbose about the state size we generate. Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
2014-10-09tools/null_state_gen: Add copyrightsMika Kuoppala
to files where they were missing. Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
2014-09-05tools/null_state_gen: build cmd and state space separatelyMika Kuoppala
Instead of building batch directly to memory, build into cmd and state arrays. This representation allows us more flexibility in batch state expression and batch generation/relocation. As a bonus, we can also attach the line information that produced the batch data to help debugging. There is no change in the output states produced. This can be considered as a preparatory patch to help introduce gen8 golden state. Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
2014-09-05tools/null_state_gen: terminate relocs with -1Mika Kuoppala
as this was already changed in kernel. Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
2014-06-03tools/null_state_gen: generate null render stateMika Kuoppala
Generate valid (null) render state for each gen. Output it as a c source file with batch and relocations. v2: noinst and vs_start fixed for BDW GT3 (Damien Lespiau) Acked-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>