mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-14 01:43:12 +00:00
build: Fix assorted compilation warnings
As these files are compiled for every test, the warnings cluttered the Android build completely. v2: As suggested by Daniel Vetter, drop some of the fixes and fix the compilation flags instead. Signed-off-by: Oscar Mateo <oscar.mateo@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
committed by
Daniel Vetter
parent
dce0d99a91
commit
5032e7bbdd
@@ -47,7 +47,7 @@ void intel_batchbuffer_emit_reloc(struct intel_batchbuffer *batch,
|
||||
* work...
|
||||
*/
|
||||
#pragma GCC diagnostic ignored "-Winline"
|
||||
static inline int
|
||||
static inline unsigned int
|
||||
intel_batchbuffer_space(struct intel_batchbuffer *batch)
|
||||
{
|
||||
return (BATCH_SZ - BATCH_RESERVED) - (batch->ptr - batch->buffer);
|
||||
|
||||
Reference in New Issue
Block a user