diff options
author | Thomas Wood <thomas.wood@intel.com> | 2015-08-26 12:05:13 +0100 |
---|---|---|
committer | Thomas Wood <thomas.wood@intel.com> | 2015-09-08 16:14:45 +0100 |
commit | b9d27f03c7cdfdb66734b5164916a501dd787036 (patch) | |
tree | db6cb166c224b6b1625c4001030921fac48d032f /tools/null_state_gen/intel_batchbuffer.h | |
parent | 4ee6709e3bd98eb52f4c4c22f58fecf9750f26eb (diff) |
tools/null_state_gen: fix various compiler warnings
Add the debug and warning flags to cflags and fix the resulting issues.
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Diffstat (limited to 'tools/null_state_gen/intel_batchbuffer.h')
-rw-r--r-- | tools/null_state_gen/intel_batchbuffer.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/null_state_gen/intel_batchbuffer.h b/tools/null_state_gen/intel_batchbuffer.h index 8b87c020..2919e870 100644 --- a/tools/null_state_gen/intel_batchbuffer.h +++ b/tools/null_state_gen/intel_batchbuffer.h @@ -3,7 +3,7 @@ * Copyright 2006 Tungsten Graphics, Inc., Cedar Park, Texas. * All Rights Reserved. * - * Copyright 2014 Intel Corporation + * Copyright 2014, 2015 Intel Corporation * All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a @@ -86,6 +86,8 @@ uint32_t intel_batch_state_alloc(struct intel_batchbuffer *batch, unsigned bytes const char *name); uint32_t intel_batch_state_offset(struct intel_batchbuffer *batch, unsigned align); unsigned intel_batch_num_cmds(struct intel_batchbuffer *batch); +struct bb_item *intel_batch_state_get(struct intel_batchbuffer *batch, unsigned i); +unsigned intel_batch_num_state(struct intel_batchbuffer *batch); struct bb_item *intel_batch_cmd_get(struct intel_batchbuffer *batch, unsigned i); int intel_batch_is_reloc(struct intel_batchbuffer *batch, unsigned i); |